TacomaVA
asked on
Batch Script - Map Network Drive
Hello,
I have a batch script that among other things, maps a network drive using syntax similar to this:
Net use Z: \\192.168.200.10\dog$ /USER:dog-pc\cat C9d!42$%
When I execute the script, I get a "logon failure unknown username or password" error.
When I type the syntax (exactly the same as the batch script) into a command prompt, the command executes successfully and the shared folder is mapped.
What am I doing incorrectly that is preventing the batch script from working successfully?
Thanks
I have a batch script that among other things, maps a network drive using syntax similar to this:
Net use Z: \\192.168.200.10\dog$ /USER:dog-pc\cat C9d!42$%
When I execute the script, I get a "logon failure unknown username or password" error.
When I type the syntax (exactly the same as the batch script) into a command prompt, the command executes successfully and the shared folder is mapped.
What am I doing incorrectly that is preventing the batch script from working successfully?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad it helped.
Steve
Steve
Steve