home *** CD-ROM | disk | FTP | other *** search
- GO.COM
-
-
- GO is a quick utility proggie I wrote in response to an unwieldy batch-
- program facility used by a chap I know in a software department somewhere
- in darkest Hampshire. The program itself is used to go quickly between
- sub-directories on (multiple) hard disks by means of typing
-
- GO [mnemonic]
-
- instead of eg.
-
- D:
- CD\MSC\BIN\CTASK
-
- or somesuch.
-
- The mnemonic would normally be derived from the last sub-directory name
- (in the example above 'CTASK'), any number of mnemonics may be stored
- in a file called GO.DAT, and that placed in either a directory defined by
- the environment variable GO (eg. SET GO=C:\ in your autoexec.bat file)
- or anywhere in the DOS PATH. This file may be hidden if you wish. (I hate
- clutter!)
-
- Below is the header for the parsing function extracted from the source
- which describes the format for the GO.DAT file ...
-
-
- /****************************************************************
- * Reads the data file that holds the information about the *
- * directory locations, looking for a match on the string passed *
- * in. The format for the input file is ... *
- * *
- * abbreviation drive pathname\n *
- * *
- * where: *
- * abbreviation = abbreviation for the full path name *
- * drive = destination drive designator *
- * pathname = DOS pathname desired *
- * *
- * Example: *
- * *
- * bin d \msc\bin -> d:\msc\bin *
- * *
- *****************************************************************/
-
- For non-'C' programmers, '\n' means 'Hit the Return key'
-
- On completion, the DOS ERRORLEVEL is set. Non-zero returns indicate
- an error. The relevant numbers are ...
-
- 0 = All OK
- 1 = Command line invalid
- 2 = Mnemonic not found in the GO.DAT file
- 3 = Drive/Directory specified not found
- 4 = Unable to find the GO.DAT file
-
-
- I am releasing this program as shareware - not because I think I can/should
- make any money from it, but because it is a _principle_ which ought to be
- encouraged. (Some of the best software I have seen is shareware).
- I would ask only £4.00 for the private use of the utility, £15.00 for
- corporate use and an extra £4.00 for the source code if desired. (I would
- be interested to see if I actually get anything!).
-
- The source was written under Microsoft 'C' v6.0, but will compile under
- just about any make/version you care to name with litle (probably no)
- effort. (Turbo 'C' users should need only to change the name of one
- #include file for instance). The whole source file is just over 250 lines
- long, with mucho comments. I got the impetus to write this having seen a
- similar proggie in a book whilst browsing - I unfortunately forget not
- only the name of the American author, but the book title as well.
- From memory though, this version is marginally better anyway.
-
- The whole program is supplied 'as is', without guarantees of any kind, but
- I will gladly respond to bug reports etc. and (reasonable) requests from
- registered users for enhancements and modifications.
-
- Please send all queries, comments, undocumented design features (bugs),
- money etc. to me at ...
-
- Charles O'Flynn
- 1 Kipling Road
- EASTLEIGH
- Hants.
- SO5 4EJ
-
- Tel. 0703-644097 (Eves. & W/Es)
-
- Cix Mail may be addressed to 'pri'
-