DOS Prompt Disappering

E

Echo Man

When I run a DOS based application, the DOS window appears on my screen then
disappears again. It runs on some computers (all XP) but not on others, with
the same problem. I have found people trying work around (like adding pause
to Batch Files) but as my app run another exe and isn't part of a batch file
this is no good. I need a solution. I'm guess it is to do with the
environment of windows, a setting somewhere that says whether DOS should
automatically close or stay on the screen until manually closed. Anyone got
any ideas? I'm completely spent on this issue...
 
E

Echo Man

Thanks John, I had forgotten all about pifs!

Unfortunately didn't work (assume it should be _default in Win dir, I
unticked "Close on Exit" tick box). Maybe I need to tell you more...App is a
Self Extracting exe (32-bit windows), it extracts to temp and auto runs a
batch file. That batch file looks like -
@ECHO OFF
SET CFMC=
SET PATH=
CD CFMCDEMO
SET CFMC=.\
CALL SURVENT

After survent, the batch file then just deletes all the files and folders
after it.

When survent runs, this opens a new Command Prompt window, quickly runs (to
quick to see) and disappears (runs the program on the machines that work).

I have tried manually extracting the files and running the batch file from
the command prompt but it just says I am missing files (don't understand why
because it runs automatically on some computers from the same original zip
file).

Any clue? or am I failing in my logic? THANKS.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top