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