05-05-2025, 04:43 AM
(05-05-2025, 03:03 AM)eoredson Wrote: When using Shell with no parameters the program displays a blank screen which cannot be exited
without going to Task Manager->Processes and manually right-click and end task!?
From reading the above, it sounds like you're writing a program such as this:
Code: (Select All)
SHELL
And then you mention this:
(05-05-2025, 03:03 AM)eoredson Wrote: Also, the Wiki says to use Shell "Cmd /C" or it may hang..
Looks to me like you wrote and answered yourself. What am I missing here?
If you read the CMD help info, you see this:
/C Carries out the command specified by string and then terminates...
If you're just looking to open a command window, and not have it automatically terminate, just do:
Code: (Select All)
SHELL "CMD"
That /C is for executing commands and closing after, so if you leave it blank, you execute nothing and then close. "CMD" alone should be all you need to open a command window and keep it open for whatever purpose.