Winput

description

download

specifications

changelog

Winput is a command line program that will offer a user an input window for batch processing. The input string will be inserted into a user defined output string, which can be redirected to a file. For example, you can send a command to a batch file like this

This will send a set statement to the file temp.bat, and after you execute this BAT file, you will have the input string in the environmental variable %name%.

You can produce and execute any other command this way, or you can simply write the input string to a file.

Arguments:· OutputString: must include the token "$input"; will be sent to STDOUT · PromptString: text message above input field; line feeds by caret character ("^") · InitialString: for the input field (optional)

Notes:The string parameters must be enclosed in double quote marks. If you need double quote marks inside the OutputString or PromptString, use two single quote marks (''), which will be replaced.

Case ignored for the options and the $input token. All parameters and options must be separated by blank space (no commas!).