1.

Solve : Can I run a com file in separate memory space??

Answer»

rem.>file.txt creates a zero byte file.

2>nul SENDS the error stream to nul and hides any error message, if the file can't be found.Hi,
This works great! My program seems to work BETTER from it's .PIF, so instead of the cmd /k I have "start /separate/wait msdosfile".
If I quit the program normally everything is fine. If I close the window using windows little red X (don't know what else to call it) there is another window behind it saying "^cTerminate batch job (Y/N) ?" Answer Y runs the del command, N quits before it. as people even dummer than I am have to use this, it may GET a little confusing. Is there a switch to disable the question and continue the batch file and does there have to be a second window?
You'll just have to educate the dumb people not to close the program from the red XThank you for your help.
Geoffl



Discussion

No Comment Found