home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
GLOBO1.ZIP
/
GLOBALLY.DOC
< prev
next >
Wrap
Text File
|
1991-07-06
|
13KB
|
293 lines
████████████████████
██ ██
██ Globally/2 ██
██ ██
██ Version 1.11 ██
██ ██
████████████████████
┌───────────────────────────────────────────────────────────────┐
│ GENERAL │
└───────────────────────────────────────────────────────────────┘
Globally/2 executes a command or program in multiple
directories on your disk. To use it, enter:
GLOBALLY [/C] command [arguments]
where "command" is the command or program you want to execute,
with any arguments it has. By default, Globally/2 operates
across the entire default drive. To operate only in the current
and subordinate directories, use /C.
Globally/2 loads and executes the command interpreter
(usually CMD.EXE) once for each directory. To make Globally/2 as
fast and efficient as possible, put 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 DIR > \FILES.TXT
stores a listing of all files on the disk in a file called
\FILES.TXT. This example shows how you can use Globally/2 as a
file finder.
GLOBALLY DIR *.C > PRN
sends a listing of all files with an extension of "C" to the
printer.
GLOBALLY DEL *.BAK
deletes all files with an extension of "BAK." This example shows
how you can use Globally/2 to get rid of extraneous files on your
disk.
┌───────────────────────────────────────────────────────────────┐
│ SAMPLE APPLICATION │
└───────────────────────────────────────────────────────────────┘
This package includes a file called CLEANUP.CMD which you can
use to delete unwanted files from your hard disk. To use it,
switch to the file you want to clean up and enter:
CLEANUP [extension....] [?]
If you enter no extensions, it deletes files on the default
drive with extensions of BAK, CHK, and TMP. If you would like to
delete different extensions, enter them after CLEANUP. To just
see instructions, enter CLEANUP ?. To abort before deleting
files, press ^C or ^Break.
Globally/2 must be in the current directory or in a directory
listed on your path to use CLEANUP.CMD
┌───────────────────────────────────────────────────────────────┐
│ SYSTEM REQUIREMENTS │
└───────────────────────────────────────────────────────────────┘
Globally/2 requires the OS/2 operating system.
┌───────────────────────────────────────────────────────────────┐
│ EXIT CODES │
└───────────────────────────────────────────────────────────────┘
Globally/2 reports the following exit codes. You can use
these with the ERRORLEVEL function in batch files (see your OS/2
manual for details).
0 Normal termination
2 Error occurred
┌───────────────────────────────────────────────────────────────┐
│ REVISION HISTORY │
└───────────────────────────────────────────────────────────────┘
1.00 Original version
1.10 Added CLEANUP.CMD
1.11 Optimized code to make program smaller
Changed name from Globally to avoid confusion with DOS
version
┌───────────────────────────────────────────────────────────────┐
│ 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/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.
┌───────────────────────────────────────────────────────────────┐
│ CREDITS │
└───────────────────────────────────────────────────────────────┘
Globally/2 was written in C by Richard W. Adams. It was
developed with PC-Write, version 3.02, & the Microsoft C
Optimizing Compiler, version 5.1.
The author is a member of the Association of Shareware
Professionals (ASP). You may reach him at the address given in
REGISTER.DOC. Should that address no longer be valid, try
contacting him through the ASP. He is also sometimes available
on CompuServe (76430,1071).
┌───────────────────────────────────────────────────────────────┐
│ REGISTRATION │
└───────────────────────────────────────────────────────────────┘
Globally/2 is copyright 1991 by Richard W. Adams, all rights
reserved. The program is "shareware." If you use Globally/2 for
more than 30 days, you must register. To do so, complete the
registration form in REGISTER.DOC & send it with a check for the
indicated amount to the author at the address on the form.
When you register, you receive:
o The right to use your copy of Globally/2 on a single
computer.
o Free technical support by mail for three months.
o Eligibility for free copies of future versions if you're
the first to suggest improvements or report bugs that are
fixed/incorporated in future versions.
Not only is registration a legal & ethical requirement, but
registration fees give shareware authors the incentive to develop
new software & improve old ones.
Tax exempt Christian religious organizations & churches are
eligible for free registration of Globally/2 for official
business. Send a written request to the author, & you'll receive
registration forms. The registration takes effect when you
complete & return the forms. This is a charitable donation.
Companies, government agencies & other organizations may
obtain site licenses for Globally/2, at greatly reduced unit
costs. Contact the author for details & a price list.
┌───────────────────────────────────────────────────────────────┐
│ SHAREWARE │
└───────────────────────────────────────────────────────────────┘
Shareware distribution gives users a chance to try software
before buying it. If you try a Shareware program and continue
using it, you are expected to register. Individual programs
differ on details--some request registration, others require it,
and some specify a maximum trial period. With registration, you
get anything from the simple right to continue using the software
to an updated program with printed manual.
Copyright laws apply to both Shareware and commercial
software, and the copyright holder retains all rights, with a few
specific exceptions as stated below. Shareware authors are
accomplished programmers, just like commercial authors, and the
programs are of comparable quality. (In both cases, there are
good programs and bad ones!) The main difference is in the
method of distribution. The author specifically grants the right
to copy and distribute the software, either to all and sundry or
to a specific group. For example, some authors require written
permission before a commercial disk vendor may copy their
Shareware.
Shareware is a distribution method, not a type of software.
You should find software that suits your needs and pocketbook,
whether it's commercial or Shareware. The Shareware system makes
fitting your needs easier, because you can try before you buy.
And because the overhead is low, prices are low also. Shareware
has the ultimate money-back guarantee--if you don't use the
product, you don't pay for it.
DISCLAIMER - AGREEMENT
Users of Globally/2 must accept this disclaimer of warranty:
"Globally/2 is supplied as is. The author disclaims all
warranties, expressed or implied, including, without limitation,
the warranties of merchantability and of fitness for any purpose.
The author assumes no liability for damages, direct or
consequential, which may result from the use of Globally/2."
Globally/2 is a Shareware program and is provided at no
charge for your evaluation. Feel free to share it with your
friends, but please don't give it away altered or as part of
another system. The essence of "user-supported" software is to
provide personal computer users with quality software without
high prices, and yet to provide incentive for programmers to
continue to develop new products. If you find Globally/2 useful
and continue to use it after a reasonable trial period, you must
make a registration payment to the author. The registration fee
will license one copy for use on any one computer at any one
time. You must treat this software just like a book. An example
is that any number of people may use this software and may freely
move it from one computer location to another, so long as there
is no possibility of it being used at one location while it's
being used at another. Just as two different people can't read a
book at the same time.
Commercial users of Globally/2 must register and pay for
their copies of Globally/2 within 30 days of first use or their
license is withdrawn. Site-License arrangements may be made by
contacting the author.
Anyone distributing Globally/2 for any kind of remuneration
must first contact the author for authorization. This
authorization will be automatically granted to distributors
recognized by the (ASP) as adhering to its guidelines for
shareware distributors, and such distributors may begin offering
Globally/2 immediately. (However, you must still advise the
author so the distributor can be kept up-to-date with the latest
version of Globally/2.)
You are encouraged to pass a copy of Globally/2 to your
friends for evaluation. Please encourage them to register their
copy if they find that they can use it.
┌───────────────────────────────────────────────────────────────┐
│ COPYING │
└───────────────────────────────────────────────────────────────┘
You may copy & distribute Globally/2 freely, as long as you:
o Don't distribute it for commercial purposes without written
permission from the author.
o Don't rent or lease it.
o Include all constituent files.
o Don't change the software or documentation.
o Charge no fee other than a nominal one to cover distribution
costs.
┌───────────────────────────────────────────────────────────────┐
│ OMBUDSMAN │
└───────────────────────────────────────────────────────────────┘
The author is a member of the Association of Shareware
Professionals (ASP). ASP wants to make sure that the shareware
principle works for you. If you can't resolve a shareware related
problem with an ASP member by contacting the member directly, ASP
may be able to help. The ASP Ombudsman can help you resolve a
dispute or problem with an ASP member, but does not provide
technical support for members' products. Please write to the ASP
Ombudsman at 545 Grover Road, Muskegon, MI 49442 or send a
CompuServe mail message to the ASP Ombudsman (70007,3536).
_______
____|__ | (R)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER