Net use errors

J

James Jones

I receive an error saying the network name cannot be found. i keep trying to
create a "home directory" for each person that logs on. when they log on,
they are connected to the shared network hard drive, which IS shared for
sure. i have checked all permisions, i can browse it just fine. If i map it
with the XP GUI "Map Network Drive" then it works just fine. I am copying
and pasting the "share name" to the XP GUI from the CMD, and it maps
perfectly fine. but it will not map from the CMD prompt. It maps the drive
according to the currently logged on username.

any help really appreciated!

here is my batch file code

net use H:\ "\\dining_room\Home Directory\"%username% /no

Thanks a lot,
James Jones
 
R

Robert L [MVP - Networking]

Do you receive system error 67? move the \ after H:.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
I receive an error saying the network name cannot be found. i keep trying to
create a "home directory" for each person that logs on. when they log on,
they are connected to the shared network hard drive, which IS shared for
sure. i have checked all permisions, i can browse it just fine. If i map it
with the XP GUI "Map Network Drive" then it works just fine. I am copying
and pasting the "share name" to the XP GUI from the CMD, and it maps
perfectly fine. but it will not map from the CMD prompt. It maps the drive
according to the currently logged on username.

any help really appreciated!

here is my batch file code

net use H:\ "\\dining_room\Home Directory\"%username% /no

Thanks a lot,
James Jones
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top