batch: map network NET USE
Posted: Wed Mar 01, 2006 9:29 am
I wrote a batch script to mount the network automatic at startup. It doesn't allow to map as drive.
I used:
mount.bat
Will output..
The command completed successfully.
Now I have a problem with that,
When I checked NET USE:
Disconnected \\SERVER\IPC$ Microsoft Windows Network
The command completed successfully.
It never connect at all, how can I make sure it's connect, and if it's disconnected.
Remap it.
I used:
mount.bat
Code: Select all
NET USE \\SERVERThe command completed successfully.
Now I have a problem with that,
When I checked NET USE:
Disconnected \\SERVER\IPC$ Microsoft Windows Network
The command completed successfully.
It never connect at all, how can I make sure it's connect, and if it's disconnected.
Remap it.