hi,
I want to be able to input the username and password within dos on one line. Basically, whenver i am in dos, and i am prompted for a password, i don't have to type the password on a seperate line.
For example, instead of:
C:\> 'runas /user:home\yazooney explorer.exe'
Enter the password for home\yazooney: 'PASSWORD'
I want to be able to do:
C:\> 'runas /user:home\yazooney explorer.exe & PASSWORD'
However, using the & function for doing mulitple commands on one line does not work.
Anyone know a way of solving this problem?