Command line parameter options

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

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.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

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
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by TronDoc.

I would also appreciate the feature. -jb

elecTRONics DOCtor
{registeredPB}P150 32Mb w98/DOS/Linux NO DirX NO IE :wink:
Post Reply