Dick Harrison said:
I am running XP2 -- I enter the ipcofig in the Run Open command line -- and
I get a "flash" (one second) of the screen, then the system returns to
prior state. No problems, just will not execute. Any guidance on what may
be wrong.
Well, you ran the program, the program ended, so the console window closed.
That is what happens when you run console apps that don't pause at the end
(because they assume you are running them within a console that you have
opened). You need to open the console (run "cmd.exe") and then enter the
DOS command or console application that you want to run. Then when it
exits, it returns back to the shell that you opened in the first place.
When you run the command from the Start->Run menu, you are opening only the
shell needed to execute the program. When the program exits, it exits and
its shell is no longer required so its console window disappears too when
the shell gets unloaded. When you load your own shell to show its console
window, the program exits but you are left in the shell that you opened.
If you don't want to enter "cmd.exe" using Start->Run and then enter the
program or command as the prompt in the console window, enter "cmd /k
<command>" which will open the shell, its console window, and run the
program, but the /k switch says to remain in the first shell after the
program exits (so that shell's console window remains).