General discussion


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.

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%"

Related Discussions

Related Forums