So my question is with mapping a users home drive with a bat file.

If I run the command from a cmd prompt works

NET USE H: \\Servername\Home$\%username%

If I put this command in a bat file and run the bat file with a pause at the end I can see that I am getting a system error 67 network path not found.

What am I missing?

4 Comments   [ - ] Hide Comments


  • how are you executing the batch file?
  • Just testing currently. Logged into server as Administrator and double clicking the bat file.
  • try %%username%%
  • Thanks for the reply's. I am not sure what I did to fix other than deleting the original bat file and re-typing it. I am now mapping the specific folder on the hidden user share. This exercise was to allow a user to run this from Parallels RAS as an app and have access to their network home drive files.
Please log in to comment

There are no answers at this time
Answer this question or Comment on this question for clarity