A. Most commands have a switch to confirm an action. For commands that require a response (e.g., a logon that asks you to enter a password), try the following command.
echo <password> | logon savillj
This command runs the command logon savillj. When the logon command asks for a password, the echo command echos the password with a return, thus entering your password.
You can also use the following code to echo a return.
echo.|cmd.exe
End of Article


replace <password> with a password from a text file, does anyone know how to "insert" this into the command line for
a batch program?
Corey Niemann February 12, 2001