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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -