home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / STRUTL11.ZIP / README.DOC < prev    next >
Text File  |  1991-09-05  |  4KB  |  64 lines

  1. Hey folks. I wrote some programs running under both OS 0.5 and messDos :-)
  2. They are hereby left out into the world (to see how the world copes with'em).
  3. When writing them, I was very concerned about them to become as small as
  4. possible. This is to put a contrast to all those gigantic programs coming up
  5. the latest time. It seems, EXE files below 1 MB aren't considered worth even
  6. looking at. As a result to this, these programs are 100% written in assembler.
  7. Have a look at "SLEEP.EXE": Isn't that the smallest family application you've
  8. ever seen, hey? Try writing a smaller one!
  9. Ok, these programs are given to the public. If you admire me and my work, then
  10. (and *only* then) you may copy/distribute them as you like. Deleting them is
  11. *NOT* allowed (you won't do that to me, will you?) You may even sell them,
  12. if you find some stupid willing to pay. To make things even smaller, I didn't
  13. include notices in the program stating that I'm the author. But if you wanna
  14. do me a favour: Tell everyone you give those programs to, that it was meeeee
  15. who wrote them.
  16.  
  17. Here's some docu:
  18. WHICH.EXE
  19.   Like the *NIX command: Show where the file executed by the given command is
  20.   located. For example WHICH COMMAND will (hopefully) write C:\COMMAND.COM.
  21.   Technically spoken, WHICH will search the current directory and the PATH
  22.   for the .COM, .EXE or .BAT (MsDos) / .CMD (OS/2) file, that is given as
  23.   the first parameter. It does this much like COMMAND.COM / CMD.EXE does.
  24.   Well, not quite: Internal commands aren't recognized. So WHICH DIR will
  25.   probably find nothing. If you wanna find other files, you can add the name
  26.   of an environment variable containing a directory list like PATH does.
  27.   For example: WHICH STDIO.H INCLUDE searches the (current and) directories
  28.   stored in environment variable INCLUDE for the C header file.
  29.   Update 4 Sep 1991: Supports jokers more correctly than previous version.
  30.   Update 5 Sep 1991: Fixed some bug resulting in no output in Dos mode.
  31. TABS.EXE
  32.   Write "TABS" (no spaces) to get info...
  33.   Update 4 Sep 1991: Made smaller!
  34. SLEEP.EXE
  35.   Like the *NIX command: Sleep for the specified number of seconds. Its
  36.   main benefit is that it will take (almost) not cpu power when run in OS/2
  37.   compatibility box. This is different from busy-wait approch usually taken
  38.   in DOS applications!
  39. FILESIZE.EXE
  40.   Compare the sizes of two files, or of one file and a number. The result
  41.   (smaller, equal in size, bigger) can be tested using ERRORLEVEL.
  42. FILEDATE.EXE
  43.   Like above, but with DATE/TIME of last access of files instead of their
  44.   size(s). (Using this utility, I could write a small MAKE batch file,
  45.   which will rebuild only those parts of a module that have been changed.)
  46. ECHO.EXE
  47.   Enhancement for the built-in echo command. See ECHO.DOC, ECHO.BAT and
  48.   ECHO.INC! Notice, that to start it, you will have to write .\ECHO, for
  49.   else the built-in echo command will be used. For this reason, I set an
  50.   environmentvariable %ECHO% in my AUTOEXEC.BAT (Dos) / CONFIG.SYS (OS/2)
  51.   containing path AND FILENAME of the ECHO.EXE command. Now if I wanna use
  52.   if (in batch files, usually), I just write %ECHO% instead of ECHO.
  53.   Of course, you may also rename it.
  54.   Update 4 Sep 1991: Corrected some protection violation when file not found
  55.                      Also became somewhat smaller.
  56. BATCOUNT.EXE
  57.   New since 4 Sep 1991
  58.   Ever wanted to have some program called on ever n-th call to some batch
  59.   file (STARTUP.CMD, AUTOEXEC.BAT etc) ?  This will help you to do it.
  60.   Enter "BATCOUNT" to get more explaination.
  61.  
  62.                        CChheecckk  yyoouurr  dduupplleexx sswwiittcchh!!
  63.                             q81955@pbhrzx.uni-paderborn.de (Stressi)
  64.