[comp.binaries.ibm.pc.archives] STACKEY3.ZIP Stackey stuff keys & BatUtils now also at garbo

ts@uwasa.fi (Timo Salmi) (06/24/91)

(This file has been on simtel20 for some time already, but came to
my attention just recently)

Sun 23-Jun-91: Acquired from a Finnish BBS
/pc/batchutil
stackey3.zip    Stakey stuff keys & BatUtils by CTRLALT Associates

Extracts from the documentation:

I.1 What STACKEY Does

      STACKEY, a utility from the makers of CTRLALT, will
automatically place keystrokes in your keyboard buffer.  It is
intended for use in connection with BATch files.  Here is a typical
example of a BATch file "lot.bat" for use with 1-2-3 using STACKEY:
      stackey W18 CR"/FR%1.wk1" CR
      123
Entering "lot mysht" at the DOS command line starts the BATch
file with mysht as %1.  STACKEY has the command line passed to it
by the BATch processor with %1 already replaced by mysht.  Thus
STACKEY places in the keyboard buffer the text: "/FRmysht.wk1"
followed by a carriage return.  The initial W18 tells STACKEY to
pause about 1 second to allow 123 to load.  If it weren't there 123
would happily remove the keystrokes from the buffer before allowing
any input.  These characters wait in the buffer until a program
requests keyboard input.  The BATch file then loads 123 which
requests input and gets it from STACKEY.  /FR calls up a dialog to
retrieve a worksheet and %1.wk1 followed by a CR loads that
worksheet.  The CR after the W18 will banish the opening logo
screen in those versions with an opening logo.

I.2 What BATUTIL does

      BATUTIL is a program with two purposes: to give you power
inside your batch files and to give you more control over the DOS
environment.  Included in the information that you can get returned
in either the DOS errorlevel or an environmental variable are
      -  current time, date, day of the week
      -  total amount and amount free of disk space, memory and EMS
      -  CPU type and type of coprocessor if present
      -  whether a file exists not only in the current directory
but on the DOS path and if it exists on the DOS path, the actual
directory can be returned in another environmental variable
      -  whether a file has today's date or not
      -  whether one of two files is older than another
      -  you can parse a filespec into individual components
Some of these options may not seem so useful at first sight, but,
for example, whether a file has today's date or not can be used to
make a routine that will only get run once per day.  Chapter VI
will explain sample uses of BATUTIL.

...................................................................
Prof. Timo Salmi        
Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun