lets i have a batch file with the following code set /p input= "Input Arming Passcode:"
if %input%== dp01arm01so what i need to do be able to change the exsisting "if %input%== " 's value to a new one through another batch file. any help?
thanks in advance!
::first batch file
::sets password
set /p password="enter new password:"
ECHO %password% > C:\PASSWORDFILE.TXT
goto eof::compares password to input
set /p input= "Input Arming Passcode:"
if %input%== < C:\PASSWORDFILE.TXT goto nexttag
goto eof:nexttag
::whatever the program wants to do next goes here
goto eof
::hope this helps
mike
thats kinda of what im wanting but i need it to change the existing script with another batchfile. like when i type "change password" on my program
i want another program to pop up i enter in my new password and press enter and it returns to my existing program with the new password
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |