Net use errors

  • Thread starter Thread starter James Jones
  • Start date Start date
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
 
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
 
Back
Top