home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / DOS_GG / COMCAT / VOL29.ARJ / VOL2952 < prev    next >
Text File  |  1992-01-07  |  9KB  |  194 lines

  1.  
  2. P  r  o  g  r  a  m  m  a  T  h  e  e  k  volume 2952
  3.  
  4.  
  5. Titel: BATCMD, VALIDATE and other batch utilities
  6.  
  7. Number  Name            Size    Date    Comments
  8. 2952.01 ACTIVE   ZIP     1863   3-10-90 Check for SideKick  and TL
  9. 2952.02 BAT-NEST TXT     1157   8-29-86 Info about nesting  batchfiles
  10. 2952.03 BATCMDR7 ZIP    37602   3-10-90 Bat Commander -  saves disk space
  11. 2952.04 BOOT     COM      147   5-05-87 Cold boot
  12.         CATALOG  952     2258   3-10-90 This list
  13. 2952.05 CDTEST   ZIP     6090   3-10-90 Test for  subdirectory
  14. 2952.06 CHECK    ZIP     2509   3-10-90 Check in batchfile
  15. 2952.07 CHECKING ZIP      927   3-10-90 Alike
  16. 2952.08 CHKDATE  ZIP      811   3-10-90 Error if date is  1-1-80
  17. 2952.09 CLEANBAT ZIP      805   3-10-90 Alternative to >NUL
  18. 2952.10 CR       ZIP     1084   3-10-90 Pushes <CR> in  keyboard buffer
  19. 2952.11 CTRLPTSC COM      257  10-01-86 Printscreen util
  20. 2952.12 DSIZE    ZIP      886   3-10-90 Detect disk size
  21. 2952.13 ENVIRON  TXT     2560   3-07-84 Info about DOS environment space
  22. 2952.14 ERRLEVEL ZIP     2230   6-20-89 Set errorlevel
  23. 2952.15 FASTBAT  TXT     5597  10-17-88 Hints
  24. 2952.16 FD       ZIP      482   3-10-90 Test for  subdirectory
  25. 2952.17 FLIP     ZIP      891   3-10-90 FLIP keyboard status
  26. 2952.18 FREE     ZIP     5188   3-10-90 Give free space
  27. 2952.19 GOODDAY  COM      411  10-01-86 Hello!
  28. 2952.20 IFF      ZIP    24051   3-10-90 Combination of batch  functions
  29. 2952.21 KBSTAK   ZIP     1681   3-10-90 KB stack  manipulation
  30. 2952.22 KFLUSH   ZIP     1066   3-10-90 Alike
  31. 2952.23 LASTDIR  ZIP     1282   3-10-90 CD back to last  subdir
  32. 2952.24 LIST     ZIP      726   3-10-90 File browser
  33. 2952.25 LPTCHK   ZIP     2041   3-10-90 Check for LPT1
  34. 2952.26 MISCUTIL ZIP    35324   3-10-90 Misc. batch utils
  35. 2952.27 PASS     ZIP    10758   3-10-90 Maintain stack  (repetitions) in batch
  36. 2952.28 PC-CTRL  ZIP    19009   3-10-90 Check your HW config, return errorle-
  37.                     vel
  38. 2952.29 PKUNZIP  EXE    32000   6-10-89 Unpack .ZIP files
  39. 2952.30 POPDIR   COM      129   2-15-86 Pop dir level
  40. 2952.31 PUSHDIR  COM      129   2-15-86 Push
  41. 2952.32 REMDOT   EXE     4887  11-24-84 ?
  42. 2952.33 RTNCODE  ZIP    10843   3-10-90 Manipulate return codes
  43. 2952.34 SCREDITL ZIP    16274   3-10-90 Edit screens for in  batch files
  44. 2952.35 SETERROR ZIP     1568   3-10-90 Set errorlevel
  45. 2952.36 SIZER    ZIP     6944   3-10-90 Test size of file  (Pascal source)
  46. 2952.37 SPLIT    COM      128   1-01-80 Split
  47. 2952.38 TEXFLAG  ZIP      829   3-10-90 Special PROMPT  (graphic)
  48. 2952.39 TYME     COM      377  12-16-86 Time
  49. 2952.40 VALIDATE ZIP     6574   3-10-90 Checksum auditing of  file
  50.         VOL2952  ABS     6576   3-10-90 Abstract by M.
  51.                42 File(s)     91136 bytes free on volume  VOL2952
  52.  
  53.                         *** ACTIVE ***
  54. SideKick is a useful program, however, it's not very  tolerant
  55. of other RAM resident programs.  In fact, when you load  other
  56. programs after loading SideKick, you may end up regretting  it!
  57. SIDEKICK ACTIVE (SKACTIVE) is a non-resident program that
  58. tests to see if SideKick is active. This program can be
  59. particularly useful to prevent batch loading programs on top
  60. of SideKick.
  61.  
  62. TLACTIVE (TURBO LIGHTING ACTIVE) performs for Turbo  Lightning
  63. the same task that SKACTIVE performs for Side Kick.  
  64.  
  65.                          *** CR ***
  66. pushes <return> into keyboard buffer via faked <ret>  sequence
  67.     Useful for putting default responses to programs run in  .BAT file
  68. processing. This version will work on any version of DOS  (1.1 and 2.0)
  69. as it pokes the fake <ret> code into the ROM BIOS keyboard  buffer area.
  70.  
  71.                     *** KBSTAK ***
  72. Function - To simulate input redirection while reverting to  normal
  73. keyboard action at end of input stream.
  74.  
  75.                          *** RTNCODE ***
  76. RTNCODE is a little program that you can place in a Batch
  77. file to control ERRORLEVEL values as seen by the Batch
  78. file processor.
  79. You pass to RTNCODE the command line you wanted to pass to
  80. DOS and it runs the program (passing arguments) and stays
  81. out of the way until that program terminates.
  82.  
  83. ***   BATCMDR7 -  BAT Commander  VII  *** 
  84.    This  program was created 'cause I had dozens of .BAT   files. 
  85. As  you may (or not) know, every file NO MATTER HOW SMALL,   takes 
  86. 2K  on your disk. I took 35 to 40 bat files (taking 70K-80K)   and 
  87. put  them in a SINGLE file less than 1K (still takes up 2K).   The 
  88. program  Z.COM takes 19K, so I've save a lot of space.  Now   each 
  89. file  added to Z.FLS doesn't take any more disk space as  long  as 
  90. the  whole  Z.FLS  is  less than 2048 bytes.  It  may  seem   that 
  91. execution of your bat files takes longer with Bat Commander.   But 
  92. that  is  because  all activity takes  place  with  no   on-screen 
  93. display.  If you type Z followed by a non-existing  command,   you 
  94. will see how fast it goes through your bat list.
  95.  
  96.  
  97.                    ***    DSIZE ***
  98.     Purpose: Allows determining the format
  99.              of a diskette from within a batch file.
  100.    Remarks: The diskette in the specified drive
  101.              is examined, and ERRORLEVEL is set as follows:
  102.              0 = unrecognized format
  103.              1 = 160K
  104.              2 = 180K
  105.              3 = 320K
  106.              4 = 360K
  107.  
  108.                     *** LASTDIR ***
  109.          LASTDIR places the current directory path into the
  110.          environment using the variable name LAST.
  111.          After LASTDIR is run the command
  112.                                   CD %LAST%
  113.          can be used by a batch file to return to the  current
  114.          directory from any directory it may have changed  to.
  115.  
  116.                          *** SCR1 ***
  117.      The Screen Image processing system was created to  assist in creating
  118. menus and help screens. Current DOS batch  commands (e.g. ECHO and REM)
  119. provide only line-by-line creation of a screen image that was extremely slow.
  120. Also,  these batch  files were very tedious to edit, especially if  graphic
  121. characters were used. In addition,  neither command  provides for attribute
  122. selection. Plus, DOS makes no  provisions for keyboard input to facilitate
  123. the selection process. The SCREDIT.COM program provides a method of retrie-
  124. ving,
  125. editing and saving screen images that can be  used in a batch file.
  126. SCRBATCH.COM was created to display the screen image and optionally accept a
  127. response from the  keyboard and set the ERRORLEVEL (so it can be tested using
  128. the IF batch subcommand).
  129.  
  130.                     *** CDTEST ***
  131. CDTEST.C - test for a valid path from DOS prompt.
  132. This routine is useful in a batch file to test for
  133. the existance of a specified path.
  134.  
  135.                     *** FD ***
  136. Utility to check for existence of directories or files -  improvement on
  137. 'IF EXIST' of DOS.
  138. Usage  FD d\path\file (optional)
  139. FD will search for the specified directory/file and return  values for
  140. ERRORLEVEL
  141.  
  142.                          *** CHECK ***
  143.          Purpose: For use with batch files, CHECK tests for various conditions
  144. and reports by setting DOS ErrorLevel.
  145.  DAY - Returns day of the month (1-31)
  146.  DISKSPACE [d:]
  147. returns the number of whole 16K blocks of free disk space
  148. from the indicated or default drive.  It returns 0 if an
  149. error is encountered.  A return of 255 means that there are least that many
  150. blocks free.                     ...  etc. etc.
  151.  
  152.                          *** SIZER ***
  153. This program tests the size of a file and sets an errorlevel
  154. based on it's findings.  Currently, it is set up for the  file
  155. ERRLOG and expects it to be 115 bytes long.  If it does not  find
  156. the file or it is not 115 bytes big, an errorlevel 1 is  returned
  157. (the file is assumed to be in the current working
  158. directory).
  159. Otherwise, errorlevel 0 is returned. Pascal source included.
  160.  
  161.                     *** CHECKING ***
  162.      This program allows conditional termination of batch  files
  163. depending on the result (Errorlevel) of the previous  program.
  164.  
  165.                          *** PASS ***
  166. PASS is used  to indicate when a number of passes have been  made
  167. through a batch file or to provide a time stamp for certain  events.
  168. If a program crashes, you can recall the last pass counted  from
  169. the PASS data file.
  170.  
  171.                          *** IFF ***
  172.    IFF is a powerful BATch file utility, that performs a
  173. multitude of functions, from asking a simple Y/N question to
  174. checking to see if a disk is formatted.
  175.      Unlike other smaller utilities, IFF incorporates  several
  176. utilities in one package under one name, IFF.
  177.  
  178.         Commands available from *** PC-Ctrl ***:
  179.            ADD               ALARM               BEEP                BORDER
  180.            CAP               CURSOR              DR                  MEM
  181.            NUM               SWP                 SWS
  182. All outcomes set an error level.
  183.  
  184.                ***  Validate V1.1 ***
  185. Validate will check any file for alterations.  It can be  used in
  186. your autoexec to trap unauthorized changes to crucial  software.
  187. You can set a validation key to make your checksum value  'unique'
  188. to prevent someone from doctoring a file's checksum to avoid  detection.
  189.  
  190.                     *** CLEANBAT ***
  191. Here's a way to inhibit writing to the screen when executing
  192. a BAT file, without adding those ">NUL" or ECHO OFF  commands.
  193. You must include ANSI.SYS in the CONFIG.SYS file at boot to 
  194. get the effect: device=ansi.sys