Yes the prompting about deleting the drive maps would occur on Windows 2000/9x. 
There are still a lot of Windows 2000 machines in my town it seems.

An example of a batch file would be something like the following


<--------------- Begin FixDrives.bat ---------------->

@echo off

rem A message that is displayed while the script is processed.
echo Please wait while your network drives are recreated.

rem Our first command deletes any existing drive mappings
net use * /delete /y

rem Next we recreate the shared drives
net use p: "\\computer1\public" PASSWORD /user:USERNAME
net use t: "\\computer2\finance" PASSWORD /user:USERNAME
net use z: "\\computer3\admin" PASSWORD /user:USERNAME

<--------------------  END OF FILE -------------------->

real simple, right? =]

Most of my batch scripts are something like above, others might be more complex 
containing goto statements that perform certain actions based on certain 
conditions.

FORC5 <[EMAIL PROTECTED]> wrote: be interested in a look at the fixdrives.bat 
layout. Have no home boxes in shop currently but next time I have one will 
check it out. Never had a XP box give me that log on message when the mapped 
drives are offline ( other then a popup from the tray ) W2K did this and WIn98.
thanks
fp

At 08:22 PM 7/26/2007, Tharin Olsen Poked the stick with:
>I think the mapping method from My Computer that allows you to save the 
>name/password is present in XP Home as well as XP Professional.
>
>One problem with the "reconnect at logon" (persistent drive maps) option is if 
>the host system with the shared folders is offline Windows will show an error 
>box on logon that indicates the path wasnt accessible and something like an 
>ok/cancel choice to delete the mapped drive. The user unknowingly deletes the 
>drive map and then they cant get in at all until the mapped drive is 
>recreated. If you use a logon script with the net use command it will always 
>map the drive at startup and its harder for the end user to mess up something 
>that couldn't be fixed by a reboot. If you'd rather not run the command at 
>startup you could just make a batch file to run the command. Since I do work 
>at a lot of small offices that are just peer-to-peer its common that these 
>sort of quirks will occur. I will type the commands into notepad and save it 
>as FixDrives.bat in the %systemroot% folder of each workstation. Next time the 
>phone rings and I'm troubleshooting I can tell them to enter
 "fixdrive!
 s" in Run or at a command prompt.
>
>-Tharin O.
>
>FORC5  wrote:
>any idea if this works in XP Home ?
>
>Have never had a problem with pro, seems there is always the little check box 
>to remember which is NOT on home machines. I have had to do the same user/pw 
>on customer boxen to keep them all on their networks and figure there has to 
>be a way to have home remember. Some obscure tool that is not there.
>
>Thanks
>

-- 
Tallyho ! ]:8)
Taglines below !
--
Without my ignorance, your knowledge would be meaningless




Reply via email to