Declined Command Line constructor custom DIALOGs for batch files

rconn

Administrator
Staff member
May 14, 2008
12,556
167
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