KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The last line in my batch file is pause . Is there any way to add a if condition to see if the script is run within command prompt or by double clicking to execute? I want to skip pause if it's running in command prompt. ... ... if not RUN_IN_COMMAND_PROMPT ( pause ) EDIT: Hope to find a solution works in Windows Server 2003/2008, WinXP, Win7.
Tags (comma-separated)
Save Edits
Cancel