Hi,
i'm using Textpad as a my Dev.-Env. for Ada95. I configured an Extra (DOS-Prog.) to run the EXE, here $WspBaseName. The window should not close after executing. All works very well, but after executing a BAT file is left in my FileDir named i.e. tp016860.BAT. Why does Textpad does not delete this temp-file?
Any ideas, workaround?
Thanks
Holger
Textpad creates BAT files if executing in DOS-Box
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Textpad creates BAT files if executing in DOS-Box
I am assuming that you have created a Tool.
Have you turned off the "Capture Output" checkbox?
I have had various problems with batch files and .exe programs; since
unchecking the said checkbox no problems.
If you don't wan't the window to close automatically use the pause command
at the end of a batch file.
Berend Hasselman
Have you turned off the "Capture Output" checkbox?
I have had various problems with batch files and .exe programs; since
unchecking the said checkbox no problems.
If you don't wan't the window to close automatically use the pause command
at the end of a batch file.
Berend Hasselman
Berend's reply is incorrect, tho it gave me the hint I needed to find the correct answer.
Summary: Textpad creates batch files (aka bat files, batfiles or whatever you want to call them) with names like tp001234.bat whenever you run a DOS command from the Tools menu. It doesn't delete them when they've finished, UNLESS you tick the "Close DOS window on exit" checkbox.
If you're setting up a new tool, remember to tick this box. If you're editing existing ones (Configure menu | Preferences item | Tools section | <name of tool>) then you just need to tick that box.
Berend might be right that capturing output will also work, but if you don't want the output displayed in a file in TextPad, it's better to use the "Close DOS window" option.
Summary: Textpad creates batch files (aka bat files, batfiles or whatever you want to call them) with names like tp001234.bat whenever you run a DOS command from the Tools menu. It doesn't delete them when they've finished, UNLESS you tick the "Close DOS window on exit" checkbox.
If you're setting up a new tool, remember to tick this box. If you're editing existing ones (Configure menu | Preferences item | Tools section | <name of tool>) then you just need to tick that box.
Berend might be right that capturing output will also work, but if you don't want the output displayed in a file in TextPad, it's better to use the "Close DOS window" option.