IN COMMAND PROMPT:
Type a password for the user:
Retype the password to confirm:
how to create the Batch file (.bat) to answer those questions automatically .
i want to know the command that i can use to execute,
I hope some one with better knowledge with DOS can help me !
.bat (what is the command to press enter)
Started by
snjflame
, Jan 27 2009 10:08 AM
3 replies to this topic
#1
Posted 27 January 2009 - 10:08 AM
#2
Posted 27 January 2009 - 01:32 PM
So... what are you trying to do (why do you need the password)? Your question is a bit vague, please elaborate.
-austen
-austen
#3
Posted 29 January 2009 - 02:46 PM
To the best of my knowledge, a .bat file automatically "presses enter" after each line. So your BAT file would be very simple, like this:
That would be the same as typing in "password1", then hitting enter, and again typing "password1".
If that method doesn't work, you might need Kana SendKey or a similar program. Kana SendKey sends keys to whichever program is open (it can send any key on a keyboard, including letters, and the ENTER button). Basically, it can simulate you typing buttons on the keyboard.
More info: http://www.kanasolut...=...=2&utilid=5
password1 password1
That would be the same as typing in "password1", then hitting enter, and again typing "password1".
If that method doesn't work, you might need Kana SendKey or a similar program. Kana SendKey sends keys to whichever program is open (it can send any key on a keyboard, including letters, and the ENTER button). Basically, it can simulate you typing buttons on the keyboard.
More info: http://www.kanasolut...=...=2&utilid=5
#4
Posted 29 January 2009 - 03:46 PM
MyFlash13, thanks for the reply.
Actually Someone told me regarding this question that there is no batch file command to press the ENTER key during a prompt, and
the execution of the batch file commands is suspended until that prompt is answered.
Also another person told me to create a custom made app to do that, so i guess might be right,
thanks for the reply again, and by the way I don't know to use the KanaSendKey !
Actually Someone told me regarding this question that there is no batch file command to press the ENTER key during a prompt, and
the execution of the batch file commands is suspended until that prompt is answered.
Also another person told me to create a custom made app to do that, so i guess might be right,
thanks for the reply again, and by the way I don't know to use the KanaSendKey !
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users