General discussion

Locked

Accessing shared folders with DOS Prompt

By Cisco_Guy ·
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!

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Accessing shared folders with DOS Prompt

by SyscoKid In reply to Accessing shared folders ...

The following works for me, on NT:

net use "\\machinename\program files"

Note the quotes.

Collapse -

Accessing shared folders with DOS Prompt

by Cisco_Guy In reply to Accessing shared folders ...

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

Collapse -

Accessing shared folders with DOS Prompt

by Ann777 In reply to Accessing shared folders ...

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

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

Collapse -

Accessing shared folders with DOS Prompt

by Cisco_Guy In reply to Accessing shared folders ...

Poster rated this answer

Collapse -

Accessing shared folders with DOS Prompt

by Cisco_Guy In reply to Accessing shared folders ...

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums