Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Declined Command Line constructor custom DIALOGs for batch files

rconn

Administrator
May
12,988
192
Staff member
Command Line constructor custom DIALOGs for batch files

Command-line constructor Dialogs for batch files would work like the command dialogs currently do.

Maybe the interface files could work like HTML forms. For example:

To construct a command like:
abatch.btm [/R] [O:[|n|i] [/F"filename"] [/G filename2]

<form action="abatch.btm">
<br><input name="/R" type="checkbox">Recurse
<br>Order:<select name="/O:">
<option value="" SELECTED>(not specified)
<option value="n">Name
<option value="i">Description
</select>
<br>Filename:<input type='text' name='/F"' width='32'>
<br>Another Filename <input type='file' name='/G'>
</form>

The /R option would not be added to the command line if it was unchecked.
The /O option would not be added to the command line if the selection was (not specified) .
The /F" option would not be added if there was no input, but the filename would be surrounded by quotes if a file was specified.
The /G option would not be added if there was no input, and the filechooser subdialog would be used.

6f6f1e59501fa2158cb825a9382e079c
Tim Pease on November 30, 2012 19:26
 

Similar threads

Back
Top