Inputting a variable into a text file, using a batch file
问题 So I'm trying to make it so that the user sets a password, and that password is loaded into a text file to be extracted for later use. The problem is, instead of typing the variable that the user inputs in the text file, it types 'ECHO is off' (or ECHO is on, if it's on). Here is what I have written. cls set/p pass = Please enter your password: > "p.txt" (@echo %pass%) echo Password created! Thanks in advance! EDIT: Thanks to MC ND, I have the solution! set /p "pass= Please enter your