Below is a bat file that I have used for years.

I detach drives
I then attach drive T:  from another pc on the workgroup
Then I attach drive E: and S:

The T: drive attaches every time
The E: and S: drive, I get from  the same pc only some of the time attach

Does anyone have a reason for this ?

Any help would be appreciated
Lawrence




echo all
rem for /L %%n in (1,1,100) do echo %%n

net use E: /delete
net use S: /delete
net use T: /delete

net use T: /USER:admin "\\admin20-pc\scan" password

NET USE E: /USER:admin   "\\DESKTOP-FN3BL2R\E-DISK" password
net use S:                                "\\DESKTOP-FN3BL2R\S-DISK"

net use /persistent:yes

exit

Reply via email to