BATSH210.ZIP is a replacement for previous BATSHxxx.ZIP It includes program and sample-files. BATSH.EXE (v2.10) ----------------- To run Windows commands from a file. Line by Line. Like BATCH (.BAT) files in DOS, but with some windows specific commands, and not all the DOS features. For WINDOWS 3.1 (FreeWare) Installation ------------ Place the files BATSH.EXE and BATSH.HLP together anywhere on the disk. Write with NOTEPAD a text file with one command per line. Save the text file with the extension .BSH. Associate with File-Manager the program BATSH.EXE to the BSH extension. Run your new command-file with a double click from File-Manager. Release Notes ------------- Version 2.10: Running other programs from a script-file has been reprogrammed, to allow upper- and lower-case letters on the commandline. The WINDOWS 3.1 function used, does also allow to call .COM program-files and any file with a known program associated. The start-up directory is defined with the CD command. /E enable the commandline with upper- and lower case letters. For compatibility with previous BATSH versions, this feature must be enabled with a command-line switch. (The case-sensitive commandline is not available from all shell programs e.g. not from WINDOWS 3.1 File- and Program-Manager.) /M load all the commands in one step into memory. This allows you to run BATSH files from removable disks. The M and/or E parameter can be set as default parameter with a BATSH.INI initialisation file in the WINDOWS directory. The entry for the parameters is: [default] parameter=M E The command SET batsh|default|parameter=ME can do this for you. new function: SPLIT Split a variable in two parts. By position number or by word search. The result is stored in the special variables $P1 and $P2 for part 1 and 2. Version 2.05: Bug-fix: IF NOT REMOTE did always return false in previous versions GOTO File not found -runtime error- when starting the command-file without pathname, from some 3rd party managers. PRINT In many cases, this command could lead to system- errors. It has been reprogrammed for this version. New: /C Command-line switch BATSH runs one command in hidden mode $FILE_N, $FILE_P new variables to hold the file-name and file-path portion of $FILE All WAIT- and TimeOut-functions have been modified to allow WINDOWS to become idle. Version 2.01: $PASSWORD did not hide the characters. this is a bugfix from version 2.0 $VER special variable with the 3digit version number INC var [+/- val] variables (var) containing numeric values can be increased/decreased with an optional value (val) default is 1. IF %var%==>%var% ( ==> for numeric values only ) when comparing numeric variable values, the additional > character defines a greater or equal compare. IF exist $TYPE=OTHER for files with strange data e.g. 0 length Version 2.0 The ASK and the CHOICE command were integrated into the MESSAGE command. BATSH files from previous versions are not compatible with version 2 files, if they were using the ASK or CHOICE command. MESSAGE display a message box for user response - ASK and CHOICE options now at the end of a message - the size of the message box is self adjusting - can include text files ---------------------------------------------------------------- Thomas Nyffenegger, FMI, PBX 2543, 4002 Basel, CH Email: nyffenegger@fmi.ch Web: http://www.fmi.ch/groups/ThomasNyffenegger/Group.html ----------------------------------------------------------------