AskEnv -- Batch Input Utility V4.2 (c) pAkUiT 1992-2013 J.H.Hamakers - Syntax: AskEnv [-e] [-t] [-i|-a [-v|-u]] X Y ["|']["|'] . Displays at position X,Y. (X=0,Y=0 means current position) . Inputs a string and assigns it to environment variable . . -e : echoes "." instead of input characters . -t : times-out after 5 seconds taking default . -i : indirect (SET commands are put in file) . -a : append (SET commands are appended to file) . -v : (in combination with -i or -a) process with SETENV . program -v option. SETENV places variable in user volatile . environment in registry. . -u : (in combination with -i or -a) process with SETENV . program -u option. SETENV places variable in user permanent . environment in registry. . (SETENV is a program written by Vincent Fatica) . Empty input: is taken, Space: is cleared . "" for means No default -i|-a This is special for Win NT\2000\XP etc. Where it is not possible to set variables from a program. (if anyone can tell me how to modify the DOS env segment memory don't hesitate to tell me how) Run ASKENVX.BAT yourself. e.g. ASKENV 0 0 AA "" "What? " Call ASKENVX The file is created in the current dirtectory. With the aid of the environmentvariable 'ASKENV' a path can be defined: e.g. Set ASKENV=C:\TEMP ASKENV 0 0 AA "" "What? " Call C:\TEMP\ASKENVX or Call %ASKENV%\ASKENVX -v|-u A workaround for Win NT\2000\XP etc. With the aid of a program called SETENV.EXE written by Vincent Fatica, it is possible to add variables to the user's permanent or volatile environment. This option adds extra lines to ASKENVX.BAT so SETENV can be used. The program SETENV.EXE must be in available in the current PATH.