I’m trying to run a script from the Windows XP console. (In case it’s relevant, it’s a file of WinSCP commands.) When I type in the command to run the script, another console window pops up for about half a second, then it disappears.
The script isn’t working. The error message may be in the console window that popped up. How can I get it to stay long enough to read it?
You’re looking for the question below. It was asked slightly differently, but the answers given there are the same as for yours.
Is there a way to look at what the windows command prompt just closed?