bill stewart's site

editvar and choose

download here: editv30.zip (147,382 bytes; 11 feb 2014)

editvar and choose are designed to allow user input in shell scripts (batch files). the download also includes ms-dos versions of both programs which may be useful on dos bootable media.

editvar works by obtaining the contents of an environment variable and presenting it for interactive editing. if you make any changes to the variable's contents and press enter, editvar writes the changed variable to the parent environment of the program that started it (usually cmd.exe). editv32 requires windows nt 4.0 or later; on windows 9x/me, use the ms-dos version. a 64-bit version (editv64) is also provided.

editvar is similar to the cmd.exe set /p command in windows 2000 and later, but it may be preferable for the following reasons:

choose is similar to the microsoft choice tool, but it has more features. here are some reasons why it might be preferable to choice: