Maping shared folders

jvillareal78
jvillareal78 used Ask the Experts™
on
I have created a bat file to use with active dicrectory scripts to map network shares
@echo off
net use /persistent:yes
net use n: \\ptisql\DiamondD
net use t: \\ptiwest\Student Services
net use x: \\ptiwest\Common
all work except for net use t: \\ptiwest\Student Services, I think I might need to use the short name for the share but not sure. Renaming the folder is not an option.

Thanks in advance
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
you have a space in the destination try this \\"ptiwest\Student Services"

Author

Commented:
Using the quotations did not work.

Commented:
I may have the quotes wrong, been a while sicne i had to script an add.
\\ptiwest\"Student Services" This should work if not try
"\\ptiwest\Student Services"

Author

Commented:
This is the error I get every time

H:\>net use t: \\ptiwest\"Student Services"
System error 53 has occurred.

The network path was not found.
Jackie Man IT Manager
Top Expert 2010
Commented:
net use t: "\\ptiwest\Student Services"

The above should work.

http://support.microsoft.com/kb/327428

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial