Discussion Locked

Accessing shared folders with DOS Prompt

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Regarding accessing shared folders via the Command prompt; Does anyone know how to map a drive to a shared folder with the "net use" command to a shared folder that has a space in the name? For instance if the share is named "Program Files", how would you use the "net use" command to map a drive to it? Thanks in advance for your help!

5 replies

by syscokid

The following works for me, on NT:

net use "\\machinename\program files"

Note the quotes.

by cisco_guy

Ahhh yes...the same as pinging a computer with spaces in it's name. Shame on me! Thank you my friend, that worked fine!

by ann777

net use x: "\\ServerName\Program Files"

x: you can replace with the drive letter you wish to use for that server

This discussion is closed to new replies.