Map Network Drive with name

R

r.hall

Hi

I know how to map a network drive from the net use command:

net use k: \\SERVERIP\e$ PASSWORD /user:Server name\login /
PERSISTENT:NO

But then when I go on windows explorer, the server is displayed in my
list with SERVEIP and $e, which is fine, but can I create an alias, so
that say "$E on 'RichDatabaseServer1" is displayed, so i can easily
distinguish between the servers I've mapped drives to, rather than the
server name or IP.
 
J

John Orion

I know when you map a drive from windows exploerer under tools .. you can
have it reconnect on restart and you can just right click the drive in
explorer and rename it like you would any other folder/drive
 
R

Richhall

I know when you map a drive from windows exploerer under tools .. you can
have it reconnect on restart and you can just right click the drive in
explorer and rename it like you would any other folder/drive









- Show quoted text -


Thanks, problem is I want it more automated. The links aren't always
there, so I have a big list of cmd files to select net uses up on and
then when the user looks its just IP or meaningless DNS names. I want
to beable to rename the map from within the cmd file.

Cheers

rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top