Windows Batch CMD windows Closes fast even with Pause at end of File -
i have batch file has content
for /f "tokens=1-4" %%a in ("reg query hkcu\environment\") ( echo %%a %%b ) pause
however when run this, cmd window opens expect closes fast, before can read text. can prevent this, , why happening.
doesn't happen on machine too, can try run command line:
cmd /k your_file.bat
Comments
Post a Comment