Does anybody know, is there any way (default or third-party) to start batch file which is opened in Delphi IDE editor, by keypress or button?
I mean simply press, say, F9, and get cmd.exe window with my batch file, from editor, runnning in this window.
In some older Delphi version, might be Delphi 5, batch files could be created as projects, so there it was really F9. However, in Delphi XE I see no such project "type".
You could add CMD.EXE
(or as you yourself mentioned, $(ComSpec)
) in the tools menu, with /c$EDNAME
as the parameter. Also, you can tell the IDE to save your file before running the external tool with $SAVE
macro
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With