General discussion

Locked

Map share with space in the name

By tim_kelley ·
How can I map a network share that has a space in the name. I am trying to write a logon script but I cannot get this to work.

This conversation is currently closed to new comments.

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

All Comments

Collapse -

by w2ktechman In reply to Map share with space in t ...

either create the shaer without the space, or place the path in quotatio marks
"\\path for share"

Collapse -

by Professor-X In reply to

Thanks for the info. mate.

Collapse -

by tim_kelley In reply to Map share with space in t ...

How can I do it using the username variable? Hard coded works OK, but I would like to use the username variable if possible.

Collapse -

it would just be something like

net use x: "\\server\share\%USERNAME%"

Back to Networks Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums