BATSH201.ZIP is a replacement for previous BATSHxxx.ZIP It includes program and sample-files. BATSH.EXE (v2.01) ----------------- 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.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 are 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. CD change current directory (new) FONT toggle fixed- or variable-pitch display font (new) IF conditions to branch program execution - IF EXIST does a file-type check MD make a new directory (new) MENU define own BATSH menu options (new) 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 RD remove a directory (new) RESTART restart WINDOWS - run DOS program before restarting WINDOWS RUN run a DOS or WINDOWS program - FULLscreen option SHOW modify the display status of a window - FULLscreen option A new variable type is introduced: INI variables: file|section|keyname With this type of variables, you can access initialisation files from WINDOWS and other applications. You can read information by referring to the variable as %file|section|keyname% and you write or delete entries with the SET command. ---------------------------------------------------------------- Thomas Nyffenegger, FMI, PBX 2543, 4002 Basel, CH Email: nyffenegger@fmi.ch Web: http://www.fmi.ch/groups/ThomasNyffenegger/Group.html ----------------------------------------------------------------