Home All Groups Group Topic Archive Search About
Author
15 Sep 2006 4:21 AM
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

Author
15 Sep 2006 2:54 PM
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
  "James Jones" <jamisonxxxburrousxxx08xxx@xxxinsightbbxxx.xxxcomxxx> wrote in message news:O$9N35H2GHA.1588@TK2MSFTNGP02.phx.gbl...
  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