1.

Solve : Set parameter?

Answer»

I would like to set a parameter into a bath FILE
the case is :
i NEED capture the username and password and then ECHO those INFORMATION into a TXT file. It is because different user has different password and username, so it should be a variable.
but how can i input the username and password ?

Thanksim not sure if this is what ur asking but here it goes:

Code: [Select]@echo off
set /p username=Username :
set /p password=Password :
echo Username : %username%>>file.txt
echo Password : %password%>>file.txt
Is it means that i can input the username and password each time i run this batch file ?
Thanks yesI already try those command, these is exactly what i wanted, really really thz



Discussion

No Comment Found