Restored from previous forum. Originally posted by darryl_bartlett.
Hi all,
I have just started to develop a few simple utilities to do various file operations. These utilities are compiled as a console applications which take in various parameters when run from a DOS prompt.
At the moment, I have to create the executable to a directory, start a DOS prompt, run the program (passing in the parameters).
It would be so much easier if there was an extra text box on the Compiler -> Compiler options dialog box which could allow you to "hard code" some command parameters line parameters for testing purposes. These parameters could automatically get passed into the program whenever the Compiler -> Compile/Run menu option is selected.
Keep up the excellent work Fred.
Regards,
Darryl.
Command line parameter options
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> It would be so much easier if there was an extra text box on the Compiler ->
> Compiler options dialog box which could allow you to "hard code" some
> command parameters line parameters for testing purposes.
Yes, this would be nice (Visual Basic has it).
> At the moment, I have to create the executable to a directory, start a DOS
> prompt, run the program (passing in the parameters).
Why not leave the DOS prompt open, with DOSKey running (type "DOSKey" at the
prompt when first opened), then just press cursor-up each time you create a
new executable? Saves all that typing until Fred can implement the above...
PB - Registered PureBasic Coder
> It would be so much easier if there was an extra text box on the Compiler ->
> Compiler options dialog box which could allow you to "hard code" some
> command parameters line parameters for testing purposes.
Yes, this would be nice (Visual Basic has it).
> At the moment, I have to create the executable to a directory, start a DOS
> prompt, run the program (passing in the parameters).
Why not leave the DOS prompt open, with DOSKey running (type "DOSKey" at the
prompt when first opened), then just press cursor-up each time you create a
new executable? Saves all that typing until Fred can implement the above...
PB - Registered PureBasic Coder
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm