home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
sysutils
/
globally
/
globally.doc
< prev
next >
Wrap
Text File
|
1990-11-11
|
7KB
|
192 lines
█████████████████████████
██ ██
██ GLOBALLY for OS/2 ██
██ ██
██ Version 1.00 ██
██ ██
█████████████████████████
┌───────────────────────────────────────────────────────────────┐
│ GENERAL │
└───────────────────────────────────────────────────────────────┘
This program executes a command in multiple directories. To
use it, enter:
GLOBALLY [/C] command [arguments]
where "command" is the command you want to execute, with any
arguments it has. By default, the command is executed in every
directory on the default drive. To execute it only in the
current and subordinate directories, use /C.
To make the program as efficient as possible, put the command
interpreter (usually CMD.EXE) on a RAM disk, and make the
environment variable COMSPEC point to it there. For example:
COPY CMD.EXE D:\
SET COMSPEC=D:\CMD.EXE
┌───────────────────────────────────────────────────────────────┐
│ EXAMPLES │
└───────────────────────────────────────────────────────────────┘
GLOBALLY DEL *.BAK
deletes all files with an extension of "BAK." This example shows
how you can use GLOBALLY for OS/2 to get rid of extraneous files
on your disk.
GLOBALLY DIR > FILES.TXT
stores a listing of all files on the default drive in a file
called \FILES.TXT. This example shows how you can use GLOBALLY
for OS/2 as a file finder.
GLOBALLY /C DIR *.C > PRN
prints a listing of all files with an extension of "C" in the
current and subordinate directories.
┌───────────────────────────────────────────────────────────────┐
│ SYSTEM REQUIREMENTS │
└───────────────────────────────────────────────────────────────┘
GLOBALLY for OS/2 requires the OS/2 operating system, version
1.0 or later.
┌───────────────────────────────────────────────────────────────┐
│ MESSAGES │
└───────────────────────────────────────────────────────────────┘
Argument list or environment too big. The argument list exceeds
128 bytes, or the space required for environment information
exceeds 32 KB.
Bad command interpreter. The command interpreter (usually
CMD.EXE) has an invalid format and can't be executed. The file
has probably been damaged.
Couldn't find command interpreter. GLOBALLY for OS/2 uses the
COMSPEC and PATH variables in the environment to find the command
interpreter (usually CMD.EXE). If they are set incorrectly,
this process fails.
Insufficient memory. There isn't enough memory to execute the
command.
┌───────────────────────────────────────────────────────────────┐
│ EXIT CODES │
└───────────────────────────────────────────────────────────────┘
GLOBALLY for OS/2 reports the following exit codes. You can
use these with the ERRORLEVEL function in batch files (see your
DOS manual for details).
0 Normal termination
2 Error occurred
┌───────────────────────────────────────────────────────────────┐
│ REVISION HISTORY │
└───────────────────────────────────────────────────────────────┘
1.00 Original version
┌───────────────────────────────────────────────────────────────┐
│ CREDITS │
└───────────────────────────────────────────────────────────────┘
GLOBALLY for OS/2 was written in C by Richard W. Adams. It is
copyright 1990 by the author, all rights reserved. Portions of
the program are copyright Microsoft Corporation, 1988.
┌───────────────────────────────────────────────────────────────┐
│ PERMISSION TO COPY │
└───────────────────────────────────────────────────────────────┘
You may copy & distribute GLOBALLY for OS/2 freely if you:
■ Include all files comprising this package (see file list
above)
■ Do not change these files in any way
■ Charge no fee other than a nominal one to cover
distribution costs
■ Do not distribute the program for commercial purposes
without the written permission of the author
You may post GLOBALLY for OS/2 on electronic bulletin boards
or other computer systems for downloading, even if you charge a
fee for using the system, as long as you don't charge for
downloading GLOBALLY for OS/2. However, you must include all
constituent files in a single downloadable file (e.g., a
compressed file).
┌───────────────────────────────────────────────────────────────┐
│ REGISTRATION │
└───────────────────────────────────────────────────────────────┘
The author has provided this copy of the program for your
evaluation under the "shareware" concept. The idea behind
shareware is "try before you buy." If you decide not to use the
program, you pay nothing.
If you use GLOBALLY for OS/2 for more than 30 days, you must
register your copy, which gives you a perpetual license to use
the product. Bulletin board operators may post GLOBALLY for OS/2
on their boards indefinitely, without registering, as long as
they meet the conditions above. Site licenses at reduced unit
cost are available for commercial, government & other
organizations.
To register, complete & submit the registration form. To
print the registration form, make sure your printer is turned on
and ready, then enter one of the following:
COPY REGISTER.DOC PRN (parallel printer)
COPY REGISTER.DOC COM1 (or COM2, or whatever,
for serial printers)
If REGISTER.DOC is missing, send $15.00 (U.S.) for each copy
you want to register, to the author at the address below. If you
are a Virginia resident, add 4½% sales tax. If you would instead
prefer a disk with the latest version of GLOBALLY for OS/2, or
would like a copy of the DOS version, see the file CATALOG.DOC
for an order form.
Not only is registration a legal requirement under United
States & international copyright laws, but registration fees give
shareware authors the means to develop new programs & improve old
ones.
Finally, this software is provided "as is." There is no
warranty, implicit or otherwise. The author does not guarantee
compatibility with your system & is not responsible for any
damages incurred by use of this software.
By using this software, you agree to the above terms. Please
send any comments, registration fees, and bug reports to:
Richard W. Adams
104 Willow Oaks Boulevard
Hampton, VA 23669-1528
U.S.A.
If you report a bug or make a suggestion which is
fixed/incorporated in a future version of the program, you are
entitled to a free copy of that future version.