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

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -