Bill Stewart's Site

EditVar and Choose

Download here: (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: