login script with spaces in share name do not map

G

Guest

Guest
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.
 
G

Guest

Guest
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-Policy-login-script-spaces-share-map-ftopict374475.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.windowsforumz.com/eform.php?p=1216579