|
Answer» Any IDEAS on SENDING a blank answer for a username in a batch file? Is there a command to send the answer as "enter"?
Windows XP.
Here is a LINE from the batch file: net use F: \\Telserv\H \username:testuser \password:(There is no password)How about :
echo.|net use F: \\Telserv\H \username:testuser \password Thanks for trying, but it still GIVES me the syntax help screen when I run it. I need to somehow fill that password field with "enter." It works manually so there must be a way to do it with code.Okay thanks JOHN. You led me to it. Here it is... net use G: \\Telserv\D testuser Echo.
Basically answering the prompts rather than putting them in with answers. Appreciate your help.
We'll count this as a win.
|