From: ts@uwasa.fi (Timo Salmi)
Newsgroups: sfnet.atk.ms-dos
Subject: Batch oppia
Date: 15 Apr 92 08:08:07 GMT
Distribution: sfnet
Organization: University of Vaasa, Finland

-From ts@uwasa.fi Wed Apr 15 10:50:04 1992
Subject: TSBAT35.ZIP batch file collection updated
To: garbo-infolist
Date: Wed, 15 Apr 92 10:50:04 EET DST
X-Mailer: ELM [version 2.3 PL11]

Tue 14-Apr-92: I have updated my collection of useful batch files
and tricks making it garbo.uwasa.fi:/pc/ts/tsbat35.zip.
   Sometimes there are situations where a batch file needs to call
another in order to perform its task. There is a genuinely clever
trick in Wolverton & Gooking, Supercharging MsDos, Microsoft Press,
1991, p. 102 to circumvent the need of having a separate batch by
making a batch call itself. I have modified the solution a bit and
rewritten my SAFEDEL.BAT (safe delete of files) so that it no longer
needs the auxiliary SAFEDEL1.BAT batch.
   Likewise the SHOW.BAT (wildcard multifile type command) has been
updated and the auxiliary file SHOW1.BAT has been deleted.
   The same book shows how to push the current directory without the
need of resident programs, auxiliary executables, or environment
variables. On the other hand this is less general than my
PUSHDIRE.BAT which uses an auxiliary executable and environment
variables. PUSHIT.BAT based on the idea from Wolverton & Gooking
does not work between different drives.  It have added this file to
tsbat35.zip along with its auxiliary text file CD.AUX.

garbo.uwasa.fi:/pc/ts/tsbat35.zip - Batch file collection, T.Salmi
Filename        Comment                             Date      Time
--------        --------------------------------    ----      ----
ADDPATH.BAT     Append directories to the path    10-21-90  17:44:06
APATH-OM.BAT    Otto Makela's version of addpath  01-13-90  12:32:30
ARC2ZIP.BAT     Single .arc to .zip with comment  02-04-92  21:09:20
ASK.EXE         Ask questions in a batch file     10-20-91  11:15:44
ASKENV.EXE      Ask, returning environment value  10-20-91  15:36:44
BLANK.BAT       Poor man's screen saver           12-06-91  16:56:10
BLK.BAT         Poor man's screen saver & popup   12-06-91  20:41:18
BOOT.BAT        Choose your boot configuration    02-08-92  09:42:52
C.BAT           Lazy changing of directory        09-27-91  12:06:00
CD.AUX          Auxiliary ascii file for pushit   04-14-92  07:26:04
COLOR.BAT       Set screen color attributes       10-21-90  20:00:02
D.BAT           Directory with sort & wildsearch  07-09-91  03:57:38
DAILY.BAT       Run a program only once a day     09-09-91  20:41:58
DELDIR.BAT      Remove directory and its files    01-22-91  19:34:20
DELPATH.BAT     Delete a directory from the path  10-21-90  18:34:30
EXE2ZIP.BAT     Self-extracting file into a zip   03-21-92  11:15:26
FU.BAT          Poor man's function evaluator     07-10-91  13:38:32
ISANSI.EXE      Has a screen driver been loaded   11-09-91  11:09:58
LASTBOOT.BAT    Show date + time of previos boot  10-21-90  20:22:12
LC.BAT          Line count for text files         12-06-91  20:15:58
LEVEL.BAT       Testbench for program errorlevel  03-28-92  17:35:32
LINK1.BAT       How to link batch files together  10-31-89  14:26:14
LINK2.BAT       Batch link demo's second file     11-15-89  12:23:24
LOCATE.BAT      Wildcard file find                01-14-90  11:22:56
LOGRUN.BAT      Log program usage & time and run  07-10-91  13:45:24
LOOP.BAT        An index loop demonstration       11-09-91  15:17:46
M.BAT           Give multiple MsDos commands      03-04-90  11:08:08
MAKESURE.BAT    Simple command.com virus warning  01-14-90  11:54:56
MENU.BAT        Run programs from a menu          12-29-90  16:55:30
MVE.BAT         Move file to another directory    01-25-92  04:38:44
PATH.TXT        How to beat the 127 byte limit    01-20-92  06:24:32
POPDIRE.BAT     Restore (pop) saved directory     01-14-90  11:57:14
POPPATH.BAT     Restore the saved path            01-14-90  11:59:44
PROMPT.TXT      Tips on prompt usages with ansi   02-21-92  16:20:06
PUSHDIRE.BAT    Non-resident push directory       12-06-91  20:02:50
PUSHIT.BAT      Alternative pushing of directory  04-14-92  08:00:36
PUSHPATH.BAT    Save the current path             01-14-90  11:58:44
REPLY.BAT       How to give input within a batch  02-22-92  09:17:08
REZIP.BAT       Remove zip authenticity labels    03-17-92  15:39:48
RULER.BAT       Show screen columns               07-09-91  03:38:50
RUN.BAT         Testing for viruses               11-09-91  12:03:46
SAFEDEL.BAT     Safe delete of files              04-13-92  07:18:08
SCANZ.BAT       Scan for viruses (incl. execomp)  09-01-91  15:11:20
SCOPY.BAT       Copy a file with a single device  08-18-91  08:21:06
SETCOM.BAT      Secure your command.com           11-09-91  11:50:30
SETPRN.BAT      Set an Epson compatible printer   03-13-91  07:39:10
SETPUSHD.EXE    Program for nonresident pushdire  11-06-91  14:28:42
SETVAR.BAT      Sets a variable for delpath.bat   01-15-90  22:19:38
SHOW.BAT        Wildcard multifile type command   04-13-92  07:27:16
SHOWTIME.BAT    Show current date and time        01-20-92  06:43:48
TEST33.BAT      Test for MsDos 3.3 or later demo  12-07-91  15:16:14
TESTANSI.BAT    Ansi-type screen driver present?  11-09-91  11:58:32
TSBAT.INF       Document (a readme)               04-14-92  08:05:28
TSBAT.NWS       News concerning this package      04-14-92  07:59:04
TSPROG.INF      List of PD programs from T.Salmi  03-21-92  17:13:26
UNPACK.BAT      Unpack-test-view any archivetype  02-04-92  06:50:12
VAASA.INF       Info: Finland, Vaasa, U of Vaasa  03-13-92  01:44:16
VIRUS.BAT       Another batch-based virus test    10-21-90  20:47:04
WHERE.BAT       Generic searchstring fname find   10-21-90  20:48:26
WILD.BAT        Wilcard any command               03-21-92  11:41:24
ZIPDATE.BAT     Equate .zip date to latest file   07-09-91  22:56:42
ZOO2ZIPH.BAT    Single .zoo to .zip on harddisk   02-04-92  19:48:32
----            ------             ------  -----
0062            169864              92261   46%

"If you do not know how to go about getting this material users are
welcome to email me for the prerecorded garbo.uwasa.fi instructions
(long, circa 29Kb)."

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