home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega Top 1
/
os2_top1.zip
/
os2_top1
/
DOS_GG
/
COMCAT
/
VOL29.ARJ
/
VOL2952
< prev
next >
Wrap
Text File
|
1992-01-07
|
9KB
|
194 lines
P r o g r a m m a T h e e k volume 2952
Titel: BATCMD, VALIDATE and other batch utilities
Number Name Size Date Comments
2952.01 ACTIVE ZIP 1863 3-10-90 Check for SideKick and TL
2952.02 BAT-NEST TXT 1157 8-29-86 Info about nesting batchfiles
2952.03 BATCMDR7 ZIP 37602 3-10-90 Bat Commander - saves disk space
2952.04 BOOT COM 147 5-05-87 Cold boot
CATALOG 952 2258 3-10-90 This list
2952.05 CDTEST ZIP 6090 3-10-90 Test for subdirectory
2952.06 CHECK ZIP 2509 3-10-90 Check in batchfile
2952.07 CHECKING ZIP 927 3-10-90 Alike
2952.08 CHKDATE ZIP 811 3-10-90 Error if date is 1-1-80
2952.09 CLEANBAT ZIP 805 3-10-90 Alternative to >NUL
2952.10 CR ZIP 1084 3-10-90 Pushes <CR> in keyboard buffer
2952.11 CTRLPTSC COM 257 10-01-86 Printscreen util
2952.12 DSIZE ZIP 886 3-10-90 Detect disk size
2952.13 ENVIRON TXT 2560 3-07-84 Info about DOS environment space
2952.14 ERRLEVEL ZIP 2230 6-20-89 Set errorlevel
2952.15 FASTBAT TXT 5597 10-17-88 Hints
2952.16 FD ZIP 482 3-10-90 Test for subdirectory
2952.17 FLIP ZIP 891 3-10-90 FLIP keyboard status
2952.18 FREE ZIP 5188 3-10-90 Give free space
2952.19 GOODDAY COM 411 10-01-86 Hello!
2952.20 IFF ZIP 24051 3-10-90 Combination of batch functions
2952.21 KBSTAK ZIP 1681 3-10-90 KB stack manipulation
2952.22 KFLUSH ZIP 1066 3-10-90 Alike
2952.23 LASTDIR ZIP 1282 3-10-90 CD back to last subdir
2952.24 LIST ZIP 726 3-10-90 File browser
2952.25 LPTCHK ZIP 2041 3-10-90 Check for LPT1
2952.26 MISCUTIL ZIP 35324 3-10-90 Misc. batch utils
2952.27 PASS ZIP 10758 3-10-90 Maintain stack (repetitions) in batch
2952.28 PC-CTRL ZIP 19009 3-10-90 Check your HW config, return errorle-
vel
2952.29 PKUNZIP EXE 32000 6-10-89 Unpack .ZIP files
2952.30 POPDIR COM 129 2-15-86 Pop dir level
2952.31 PUSHDIR COM 129 2-15-86 Push
2952.32 REMDOT EXE 4887 11-24-84 ?
2952.33 RTNCODE ZIP 10843 3-10-90 Manipulate return codes
2952.34 SCREDITL ZIP 16274 3-10-90 Edit screens for in batch files
2952.35 SETERROR ZIP 1568 3-10-90 Set errorlevel
2952.36 SIZER ZIP 6944 3-10-90 Test size of file (Pascal source)
2952.37 SPLIT COM 128 1-01-80 Split
2952.38 TEXFLAG ZIP 829 3-10-90 Special PROMPT (graphic)
2952.39 TYME COM 377 12-16-86 Time
2952.40 VALIDATE ZIP 6574 3-10-90 Checksum auditing of file
VOL2952 ABS 6576 3-10-90 Abstract by M.
42 File(s) 91136 bytes free on volume VOL2952
*** ACTIVE ***
SideKick is a useful program, however, it's not very tolerant
of other RAM resident programs. In fact, when you load other
programs after loading SideKick, you may end up regretting it!
SIDEKICK ACTIVE (SKACTIVE) is a non-resident program that
tests to see if SideKick is active. This program can be
particularly useful to prevent batch loading programs on top
of SideKick.
TLACTIVE (TURBO LIGHTING ACTIVE) performs for Turbo Lightning
the same task that SKACTIVE performs for Side Kick.
*** CR ***
pushes <return> into keyboard buffer via faked <ret> sequence
Useful for putting default responses to programs run in .BAT file
processing. This version will work on any version of DOS (1.1 and 2.0)
as it pokes the fake <ret> code into the ROM BIOS keyboard buffer area.
*** KBSTAK ***
Function - To simulate input redirection while reverting to normal
keyboard action at end of input stream.
*** RTNCODE ***
RTNCODE is a little program that you can place in a Batch
file to control ERRORLEVEL values as seen by the Batch
file processor.
You pass to RTNCODE the command line you wanted to pass to
DOS and it runs the program (passing arguments) and stays
out of the way until that program terminates.
*** BATCMDR7 - BAT Commander VII ***
This program was created 'cause I had dozens of .BAT files.
As you may (or not) know, every file NO MATTER HOW SMALL, takes
2K on your disk. I took 35 to 40 bat files (taking 70K-80K) and
put them in a SINGLE file less than 1K (still takes up 2K). The
program Z.COM takes 19K, so I've save a lot of space. Now each
file added to Z.FLS doesn't take any more disk space as long as
the whole Z.FLS is less than 2048 bytes. It may seem that
execution of your bat files takes longer with Bat Commander. But
that is because all activity takes place with no on-screen
display. If you type Z followed by a non-existing command, you
will see how fast it goes through your bat list.
*** DSIZE ***
Purpose: Allows determining the format
of a diskette from within a batch file.
Remarks: The diskette in the specified drive
is examined, and ERRORLEVEL is set as follows:
0 = unrecognized format
1 = 160K
2 = 180K
3 = 320K
4 = 360K
*** LASTDIR ***
LASTDIR places the current directory path into the
environment using the variable name LAST.
After LASTDIR is run the command
CD %LAST%
can be used by a batch file to return to the current
directory from any directory it may have changed to.
*** SCR1 ***
The Screen Image processing system was created to assist in creating
menus and help screens. Current DOS batch commands (e.g. ECHO and REM)
provide only line-by-line creation of a screen image that was extremely slow.
Also, these batch files were very tedious to edit, especially if graphic
characters were used. In addition, neither command provides for attribute
selection. Plus, DOS makes no provisions for keyboard input to facilitate
the selection process. The SCREDIT.COM program provides a method of retrie-
ving,
editing and saving screen images that can be used in a batch file.
SCRBATCH.COM was created to display the screen image and optionally accept a
response from the keyboard and set the ERRORLEVEL (so it can be tested using
the IF batch subcommand).
*** CDTEST ***
CDTEST.C - test for a valid path from DOS prompt.
This routine is useful in a batch file to test for
the existance of a specified path.
*** FD ***
Utility to check for existence of directories or files - improvement on
'IF EXIST' of DOS.
Usage FD d\path\file (optional)
FD will search for the specified directory/file and return values for
ERRORLEVEL
*** CHECK ***
Purpose: For use with batch files, CHECK tests for various conditions
and reports by setting DOS ErrorLevel.
DAY - Returns day of the month (1-31)
DISKSPACE [d:]
returns the number of whole 16K blocks of free disk space
from the indicated or default drive. It returns 0 if an
error is encountered. A return of 255 means that there are least that many
blocks free. ... etc. etc.
*** SIZER ***
This program tests the size of a file and sets an errorlevel
based on it's findings. Currently, it is set up for the file
ERRLOG and expects it to be 115 bytes long. If it does not find
the file or it is not 115 bytes big, an errorlevel 1 is returned
(the file is assumed to be in the current working
directory).
Otherwise, errorlevel 0 is returned. Pascal source included.
*** CHECKING ***
This program allows conditional termination of batch files
depending on the result (Errorlevel) of the previous program.
*** PASS ***
PASS is used to indicate when a number of passes have been made
through a batch file or to provide a time stamp for certain events.
If a program crashes, you can recall the last pass counted from
the PASS data file.
*** IFF ***
IFF is a powerful BATch file utility, that performs a
multitude of functions, from asking a simple Y/N question to
checking to see if a disk is formatted.
Unlike other smaller utilities, IFF incorporates several
utilities in one package under one name, IFF.
Commands available from *** PC-Ctrl ***:
ADD ALARM BEEP BORDER
CAP CURSOR DR MEM
NUM SWP SWS
All outcomes set an error level.
*** Validate V1.1 ***
Validate will check any file for alterations. It can be used in
your autoexec to trap unauthorized changes to crucial software.
You can set a validation key to make your checksum value 'unique'
to prevent someone from doctoring a file's checksum to avoid detection.
*** CLEANBAT ***
Here's a way to inhibit writing to the screen when executing
a BAT file, without adding those ">NUL" or ECHO OFF commands.
You must include ANSI.SYS in the CONFIG.SYS file at boot to
get the effect: device=ansi.sys