Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > login script with spaces in share name do not map

login script with spaces in share name do not map

Forum Windows 2000/NT : Windows 2000/NT General Discussion - login script with spaces in share name do not map

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.group_policy (More info?)

 

I have a very simple login script to map drives to shared folders on the
server. Any share names that include spaces in the name will not map through
the login script. What is the syntax for share names with spaces? I am sure
there is something very simple I am missing.

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.win2000.group_policy (More info?)

 

>I have a very simple login script to map drives to shared folders on
>the server. Any share names that include spaces in the name will not
>map through the login script. What is the syntax for share names with
>spaces? I am sure there is something very simple I am missing.

Yep, it is simple. You just need quotes. This goes for all dos based
commands as well.

net use z: "\\server\share name"

Cheers,

Lara

--
Posted using the http://www.windowsforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.windowsforumz.com/Group [...] 74475.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.windowsforumz.com/eform.php?p=1216579

Reply to Anonymous
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > login script with spaces in share name do not map
Go to:

There are 496 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them