i need some help with getting user input from a batch file, specifically, i want the user to input the "name" of his pc and add that info into an unattended file to use is sysprep.
I've gotten this far with my batch file:
set /P INPUT=Type input: %=%
if "%INPUT%"=="" goto input
echo Your input was: %INPUT%
echo %input%>> file.txt
the above batch file works well, i just need it to write into a txt file that already has info in it and put the "%INPUT%" into the txt file where I specifiy the variable....
Or maybe someone has a better way of doing it....
would be a great help