home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / batch / msutil11.zip / MSUTILS.DOC < prev    next >
Text File  |  1992-04-30  |  7KB  |  192 lines

  1. MicroSource Utilities                                      (c) 1992  MicroSource
  2.  
  3. Enclosed in this archive file are several small utilities that I have written
  4. over the years at the request of other people.  The batch utilities are listed
  5. first, followed by the stand-alone utilities (which could, of course, be used
  6. in batch files).
  7.  
  8. These utilities are released as shareware - please read the file LICENSE.DOC
  9. for information on registration.  Please note that if you register for the use
  10. of MicroSource's very popular Postscript conversion program "PCPS", you are
  11. automatically registered to use the following utilities.
  12.  
  13. All care has been taken in the writing of these utilities, but no responsibility
  14. will be taken by MicroSource or Paul Carapetis for any result (good or bad)
  15. incurred from the useage of the utilities detailed below:
  16.  
  17.  
  18. ------------------------------Batch Utilities-----------------------------------
  19.  
  20.  
  21. isdir.com        6404  22 April 1992  18:13
  22. *******************************************
  23. This program will check for the existance of a specified directory.
  24.  
  25. For help enter ISDIR<cr>
  26.  
  27.  
  28.  
  29. ismouse.com       278  22 April 1992  18:13
  30. *******************************************
  31. This program checks for a working mouse and driver being present.
  32.  
  33. For help enter ISMOUSE ?<cr>
  34.  
  35.  
  36.  
  37. iswrite.com      6598  22 April 1992  18:13
  38. *******************************************
  39. This program checks that the specified disk is write protected or not.
  40.  
  41. For help enter ISWRITE<cr>
  42.  
  43.  
  44.  
  45. task.com          562  22 April 1992  18:13
  46. *******************************************
  47. Useage ═ TASK "Question",<key list>[,<timeout secs>,<timeout errorlevel>]<cr>
  48.  
  49. eg.  TASK "Please enter a,b or c : ",abc,60,1
  50.  
  51.                    (TASK = Timeout ASK)
  52. This utility is designed for use within batch files to make them interactive.
  53. The above example works as follows:
  54.     - The question "Please enter a,b or c : " will be output to the screen
  55.     - The program will wait up to 60 seconds for one of the specified keys
  56.       (a,b or c) to be entered and will exit setting a corresponding error
  57.       level (1 for a, 2 for b etc.).
  58.       (the timeout period is handy if, for example, you wish to have a question
  59.       asked within the autoexec.bat on boot-up, but wish it to default to a
  60.       particular action after a given time when there is no-one around to
  61.       press keys)
  62.     - If none of the specified keys is pressed within the specified time
  63.       (60 secs in this example), then TASK will exit with an errolevel of 1
  64.       as specified in the last argument above.
  65.     - This errorlevel can then be tested as such:
  66.                 IF ERRORLEVEL ? GOTO <label>
  67.     - Don't forget to test from high levels down - testing an errorlevel will
  68.       clear that errorlevel flag and any larger than it.
  69.  
  70. Please note:
  71. The value for the timeout period in seconds and the timeout errorlevel
  72. have upper limits of 99 (ie. maximums of 99 secs and errorlevel 99).
  73.  
  74.  
  75. TASK can also be used as a normal ask type utility without the timeout.  Just
  76. leave the last two arguments off.  For example, if you wished to duplicate
  77. the above command but wish it to wait as long as is necessary for input, enter
  78. it as such:
  79.            TASK "Please enter a,b or c : ",abc
  80.  
  81. For help just enter TASK<cr>
  82.  
  83.  
  84.  
  85. -------------------------Stand-alone Utilities----------------------------------
  86.  
  87.  
  88. att.com          1155  22 April 1992  18:13
  89. *******************************************
  90. This program allows the user to easily set screen attributes using the
  91. ANSI.SYS driver ( loaded from the config.sys file as follows: )
  92.                 (           device=\dos\ansi.sys              )
  93.  
  94. For help just enter ATT<cr>
  95.  
  96.  
  97.  
  98. cwd.com           254  22 April 1992  18:13
  99. *******************************************
  100. Useage ═ CWD [d:][\][path]<cr>
  101.  
  102. eg: C:\> CWD D:\UTILITY\ETC
  103.  
  104. This utility will change directory, drive or both in one command.  The above
  105. example (initiated from drive C:) will change drive to D: and directory to
  106. \UTILITY\ETC.
  107. If just CWD<cr> is entered, the current drive and directory will be echoed.
  108.  
  109. For help just enter CWD ?<cr>
  110.  
  111.  
  112.  
  113. filter.com       9696  22 April 1992  18:13
  114. *******************************************
  115. This is a simple little program that will read a file, do a bit level filter
  116. of all characters and then write the result out to another file.  This will
  117. work on all file types but only one bit at a time.
  118.  
  119. For help just enter FILTER<cr>
  120.  
  121.  
  122.  
  123. gq.exe           9058  22 April 1992  18:13
  124. *******************************************
  125. GetQuota returns the disk useage (in bytes) of a specified directory and
  126. all subordinate directories to the specified one.
  127.  
  128. For help just enter GQ<cr>
  129.  
  130.  
  131.  
  132. howbig.com        383  22 April 1992  18:13
  133. *******************************************
  134. This just tells you what sort of disk drive you have ie. high/low density.
  135. This will only work on PC/AT's or later.
  136.  
  137. For help enter HOWBIG<cr>
  138.  
  139.  
  140.  
  141. nonull.com       9626  22 April 1992  18:13
  142. *******************************************
  143. This simply reads a file, strips all NULL's from the file and writes what's
  144. left to an output file.
  145.  
  146. For help just enter NONULL<cr>
  147.  
  148.  
  149.  
  150. now.com           428  22 April 1992  18:13
  151. *******************************************
  152. Useage ═ NOW<cr>
  153.  
  154. Outputs the current Date and Time to stdout.
  155.  
  156.  
  157.  
  158. rboot.com         181  22 April 1992  18:13
  159. *******************************************
  160. Useage ═ RBOOT [/c]<cr>     (Note:  /c or -c are acceptable)
  161.  
  162. This utility will reboot a PC and is very handy for initiating reboots from
  163. batch files and the like.
  164. If just RBOOT<cr> is entered, the system will perform a warm boot which is the
  165. same as <Ctl><Alt><Del>.
  166. If RBOOT /c<cr> is entered, the system will perform a cold boot which is the
  167. same as powering the system off, then on again.
  168.  
  169. For help just enter RBOOT ?<cr>
  170.  
  171.  
  172.  
  173. switch.exe      31478  30 April 1992  10:22
  174. *******************************************
  175. This program enables the user to switch between many different configurations
  176. and reboot the machine if required - semi smart and able to handle up to 100
  177. different configuration pairs.
  178.  
  179. For help just enter SWITCH ?<cr>
  180.  
  181.  
  182.  
  183. --------------------------------------------------------------------------------
  184.  
  185. Regards,
  186.  
  187. Paul Carapetis.              Internet:  pjc@melb.bull.oz.au
  188. C/- MicroSource              Phone: 61 3 763 2424
  189. 102 Allister Avenue,
  190. Knoxfield 3180.
  191. Australia.
  192.