answer command prompt silently

  • Thread starter Thread starter Greg Chu The Small
  • Start date Start date
G

Greg Chu The Small

I need to map a drive from XPE client

net use x: \\server\share /user:gchu

but it prompt for password, do I have any way to answer from a text file or
surpress it?

I thought I see some one used an echo to reply command prompt but could not
find it.

Any one knows how?

Thanks!

Greg
 
Thanks, it worked, but how do you disconnect it after you are done with it.

Where do you get the "help" of this? I tried "net /?" or "help net" did not
get anything out of it.

Thanks!

Greg
 
Where do you get the "help" of this? I tried "net /?" or "help net" did
not
get anything out of it.

To get help on net subcommands use "net help". In your case the command is
"net help use | more"

You can also get help on Windows commands from Windows Help (for Windows XP:
Start > Help And Support > Search for "Command-line reference A-Z")

Al.
 
Back
Top