I am searching for a tool which enables me to map e.g. \\192.168.0.200\d\work to the drive
letter K: with ONE click on it.
The click should be made preferable on a icon shortcut on the desktop and let afterwards
appear drive K: in Windows explorer
Is there such a tool ?
Maybe there is a command prompt command for this purpose ?
Sergej
1. Create a batch file (eg: netuse_z.bat)
2. The batch file will invoke "net use" with a command line similar to this:
net use z: \\192.168.1.9\c password /USER:username
Where:
z: is the device name you wish the mapped share to use on your system (and
include the colon or it won't work)
\\192.168.1.9 is the target ip address (note: you can also use the name)
\c is the target device name
password is the password of the user on the system serving up the share (if
the share is not globally "open", you'll need a valid account - username and
password - on that machine to map it from your client system)
username is the named account on the serving system.
Write out the file, then create a shortcut to it (in Explorer, right click on
the netuse_z.bat file and select "create shortcut").
Drag that shortcut to your desktop, where you can execute the batch file with
a double-click (or put it in your Quick Launch tray where you can execute the
batch file with a *single* click).
Alternately, you could have your login automagically map the share.
In a command prompt window you can find the syntax of the various forms of the
'net use' command. If the share you're mapping is globally accessible, for
instance, you don't need password or username. If you want the share to
persist through restarts, etc, you can add a switch..
hth
/daytripper