home *** CD-ROM | disk | FTP | other *** search
Text File | 1987-10-23 | 44.4 KB | 1,594 lines |
- CHAPTER 1
- ═════════
-
- Introduction
- ════════════
-
- A Full working version of Universal Globals is available
- for $49.95 + $5.00 shipping and handling. Arizona Residents
- add 6.7% sales tax. A typewritten manual is included with order. Send
- Check or money order to:
-
- Nathan Goldenthal
-
- Universal Globals
-
- P.O. Box 1178
-
- Peoria AZ. 85345
-
- Certain software such as text editors and language compilers require
- the user to copy the program to each subdirectory where a file is
- processed. If you want one of the data files not located in the current
- subdirectory then you have to copy the file into the current subdirectory.
- If a new configuration file is to be used only temporarily, you would
- have to save the old configuration file and rename it, and then copy
- the new configuration file into the current subdirectory you are using.
- Now with Universal Globals 3.40 there no longer is need or any transfer
- copying. Process a file from whatever subdirectory you are now in.
- You can keep data files in one subdirectory, overlay files in another,
- command files in yet a third, and using Universal Globals 3.40 have
- them all available for you in whatever subdirectory you desire, all
- without actual copying or transferring.
-
- With Universal Globals 3.40 it becomes easy to use Ram disks and speed
- up Pipes and numerous other programs.
-
-
- Support
- ═══════
-
- Universal Globals 3.40 runs on MS-DOS and PC-DOS 2.xx, Dos 3.xx and
- will run on systems with or without hard disks. The Globals resident
- portion requires approximately 3k to 4k of memory.
-
- Universal Globals 3.40 supports DOS versions with its Setpath command.
-
- Universal Globals' has a smaller self contained direct path command
- support referred to as Globals 3.4.
-
-
- Copyright
- ═════════
-
- Universal Globals 3.40 and Globals 3.0 are Copyrighted <189> 1983,
- 1984, 1985, 1986, 1987 by
-
- Goldensoft Software
-
- P.O. Box 1178
-
- Peoria Arizona 85345
-
- Limited Warranty
-
- This program product is provided "as is" without warranty of any kind,
- either expressed or implied, including, but not limited to, the implied
- warranties of merchantability and fitness for a particular purpose.
- The entire risk as to the quality and performance of the program product
- is with you, the buyer and user.
-
- In no event will Goldensoft Software, Nathan Goldenthal or any of
- its employees, personnel, concubines or slaves be liable for damages,
- including any lost profits, lost savings, or other incidental or consequential
- damages arising out of the use or inability to use this program product,
- even if Goldensoft Software or authorized Goldensoft personnel have
- been advised of the possibility of damages, or for any claim by any
- other party.
-
- By the use of this product you acknowledge that you have read this
- agreement, and agree to be bound by its terms and conditions. You
- may not use, copy, modify or transfer the program product, or any
- copy, modification or merged portion, in whole or in part except as
- expressly provided in this licence.
-
-
- CHAPTER 2
- ═════════
-
-
- Universal Globals Subdirectory System
- ═════════════════════════════════════
-
-
- Version 3.40
- ════════════
-
- Universal Globals allows subdirectories to appear transparent for software
- that has difficulty or is unable to properly use the path and
- subdirectory commands.
-
-
- UNI Syntax:
- ═══════════
-
- UNI .Rand [arg1 arg2 ... argN]
-
- and = A,C,D,E,G,K,M,P,R,S,T,U,V,W,X
-
- and is any Universal Global Command
-
- A = ATTRIB, C = CLEAN, D = CDSECR, E = ALTER
-
- G = GLOBALS, K = CLOCK, M = MDSECR, P = SETPATH
-
- R = RDSECR, S = SDIR, T = README, U = UNIV
-
- V = SAVDATE, W = SYSDATE, X = SXDIR, 1 = DIREN
-
- 2 = SUBD, 3 = ALS, 4 = MEM, 5 = MODE43, 6 = RESERVE
-
- 7 = RESERVE
-
- Universal Globals is a registered trademark of Goldensoft Software. Copyright
- (c) 1983 thru 1987 Goldensoft Software <MO>
-
-
- Installation of Universal Globals
- ═════════════════════════════════
-
- Before you can use the benefits of Universal Globals 3.40 you must
- first install the program on your computer system. The installation
- of Universal Globals 3.40 requires several steps. This chapter will
- guide you in installing the Universal Globals 3.40 System on your
- computer.
-
- It is not necessary to modify any DOS system program to install Universal
- Globals.
-
-
- Backup Copies
- ═════════════
-
- Before you proceed any further you should make a back up copy of your
- Universal Globals 3.40 program disk. This disk is not copy protected
- so either the DOS diskcopy command or copy command will work. To
- copy this disk to a backup disk, Place the Universal Globals master
- disk in drive A: and a blank formatted disk in drive B:. It is advisable
- to place a write-protect tab on the Master disk.
-
- Now type:
-
- Copy a:*.* b:/v
-
- or
-
- Diskcopy a: b:
-
- Place your master disk away for save keeping and now use the copy
- disk.
-
- The Universal Globals 3.40 System files will be copied from Drive
- A: to your root directory on drive C:.
-
- The following are the files that will be copied onto your system:
-
- Globals.SYS: the Universal Globals 3.40 device driver
-
- Uni.com :the control program for Universal Globals
-
- Readme.COM: automatic pager for univ.doc
-
- Univ.DOC: the documentation file
-
- You must add the statement
-
- Device = Globals.sys
-
-
- in your Config.SYS file. Global.SYS should be in the base
- subdirectory C:\.
-
-
- Installing An Autoexec.BAT File
- ═══════════════════════════════
-
- Whenever you start up your system DOS looks first for a Config.SYS
- file and then for an Autoexec.BAT file. If it finds one present
- then it's automatically run. Thus the Autoexec.BAT file is a
- good place to put commands or programs that you want run immediately
- on staring the computer. Also it is advisable to put the Path
- command here. The Path command tells DOS where and in what drives
- and subdirectories to look for an executable .COM or .EXE file.
-
-
- Example:
- ════════
-
- Path = c:\;c:\util;a:\;c:\bat
-
-
- tells DOS to look in the following order for an executable file typed
- at the > prompt. Look in the root directory of drive c:\, if not found
- look in the c:\util subdirectory, if not found look in drive A: root
- directory a:\, if not found look in drive c: bat subdirectory c:\bat,
- if not found give up and print bad command or file name. Make sure
- that the Universal Globals programs are located on one of the specified
- path directories. You should place them on drive C: root directory
- c:\ or in the root directory of drive b:\, or on the root directory
- of the drive specified.
-
-
- Installing the Preconfigured Programs
- ═════════════════════════════════════
-
- Now you can study the individual discussions on the program files
- available. You'll be told how to set up files and directories for
- each program. You'll be given the batch file on each disk to copy
- and when you want the program just run the batch file.
-
-
- Activating Universal Globals
- ════════════════════════════
-
- You are now ready to begin. At this point all you need to do is restart
- the computer with a control-alternate-delete making sure that
- the Config.SYS program is on the system disk be it floppy or
- harddisk. If you would like to set up Universal Globals 3.40 to do
- more then read the rest of the manual before beginning. Once you reboot
- you can still continue to read the rest of the manual. You can change
- the Universal Global processing environment any time without rebooting.
-
- If you have set a number of paths you may get the following DOS message:
-
- OUT OF ENVIRONMENT SPACE
-
- If this occurs use the UNI .RE to increase the size of the DOS
- environment. See Alter command.
-
-
- CHAPTER 3
- ═════════
-
-
- Controlling the Path Environment
- ════════════════════════════════
-
- You can control how Universal Globals Works in two ways:
-
- You can specify processing rules that tell Universal
- Globals in what drives, subdirectories and files to look for files
- of a particular name or group of names and what restriction should
- be placed on those names or subdirectories.
-
- You can specify the Uni command . RU with options to control the results.
-
-
- Set Paths
- ═════════
-
- One way to think of Universal Globals 3.40 processing Set Paths
- is that they specify how the file requests form the command or programs
- are to be routed to other locations or waiting files. Universal Globals
- 3.40 uses the Set path = command similar to Globals 3.0 . The
- Set command is used to define the environment and as a set of
- strings are kept in the main environment storage accessible to all
- programs. These character strings can be set to basically anything,
- although there are some programs that require exceptions.
-
- You use the DOS Set command to specify path locations and Universal
- Globals 3.40 reads the DOS environment to process these paths. You
- can delete any set path no longer needed or add any new ones as required.
-
- If you use any of the predefined batch file, these are pre-configured
- to support its particular program and automatically define appropriate
- set paths for the program. Later these paths are erased.
-
- You can also create your own set of batch files to create new set
- paths and you can add Set commands to the Autoexec.Bat
- file at startup.
-
- Each path is defined by one Set command. For example to tell
- Universal Globals to reroute the requests for the file Config.DB
- to the dBASE III subdirectory on the fixed C drive write the following:
-
- Set Config.DB=C:\dbaseiii\config.db
-
- This now tells Universal Globals that whenever a request from a program
- occurs to access config.db, this request is to be rerouted to the
- dBASEIII subdirectory, regardless of the status of the current drive
- or subdirectory. Usually even if a program is written to search a
- particular drive or subdirectory, the set command should override
- it.
-
- Now suppose you have a text editor that can contain an external macro
- file which when this editor loads a series of keys will then be predefined.
- Now suppose that you wish to create several such external macro files
- for different needs. You could create these macro files and place
- them on different subdirectories. The editor requires that the external
- macro file be called Key.FNC. You might want to keep a main
- macro file on your editor subdirectory (\editor), and perhaps several
- other macro files on each of several different data directories. Thus
- if you wished to work on a specific data directory you would want this
- current subdirectory searched before the editor subdirectory. This
- can be accomplished in one of three ways by creating the following:
-
-
- 1. set key.fnc=c:\data\key.cnf;c:\editor\key.fnc or
-
- 2. set 'key=c:\data;c:\editor or
-
- 3. set .fnc=c:\data;c:\editor
-
- The above 1. option states that the file Key.FNC can be
- found in the data subdirectory shown by c:\data\key.fnc and if not
- found there then look in c:\editor\key.fnc.
-
- The Set path also implies that if you use the editor to alter
- the Key.FNC file, this file will be saved in the current directory,
- thus the original main file is available for general use and the modified
- data Key.FNC is used whenever you edit a file in the current
- data subdirectory.
-
- The 2. option uses the apostrophe ' to imply any file
- with the name key regardless of the extension will be found in the
- following path. In this way if several files had the first name key
- such as Key.ONE, Key.FNC, Key.TWO, all such files
- would be searched for first in the c:\data and if not found then the
- c:\editor subdirectories.
-
- The 3. option used the period . to imply that any file
- with the extension of .FNC such as Key.FNC, My.FNC,
- Yours.FNC should be searched for first in the c:\data and then
- the c:\editor subdirectory.
-
- If you wanted to save an edited report on the present default subdirectory
- or if you wished to use the default subdirectory searched first then
- you would type the following:
-
- set 'key=;c:\data1;c:\editor
-
- The semi-colon at the beginning after the equal sign tells Universal
- Globals to look at the present default subdirectory for any file beginning
- with the name key and if a file named key is saved then it will be
- saved to the default subdirectory and not the editor directory.
-
- As shown in 2. and 3. it is not necessary to write a Set
- command for each file with either the same first names or the same
- last extensions. In this way the . and ' are used as wild
- cards to specify files.
-
-
- Implied Filenames
- ═════════════════
-
- Similar to DOS Universal Globals allows you to use wildcards of *
- and ? as well as Universals wildcards of . and '.
- The following file specifications show how implied characters and
- wild cards can be used.
-
- Myfile.DAT this is one file with the name Myfile.DAT
-
- '123 all files with the name 123
-
- te*.txt all files beginning with te
-
-
- te? all files with a three character file name beginning with te
-
- '??t all files of three characters ending with t
-
- All wild cards must precede the = sign. A ? replaces one
- character, and an * replaces more than 1 character.
-
-
- Protected Subdirectories
- ════════════════════════
-
- Any or all subdirectories in a set path can be set to the directory
- in that subdirectory location.
-
- The Set command will not reroute or request to create a file
- in that subdirectory. If the file request is to do a create that subdirectory
- is skipped and the next subdirectory in the command is examined.
-
- The Set command will not reroute a request to delete or rename
- a file to that location. If the file request is to do a delete or
- rename, the subdirectory is skipped and the next subdirectory is examined
- in the Set command.
-
- Subdirectories are protected in a Set command by one or both
- of the following prefixes:
-
- a double quote " indicates that the subdirectory
- in the path must not have any files added to it or created.
-
- an exclamation mark ! indicates that the subdirectory must not be modified
- with any renames or deletes or change of attributes (archive to hidden etc.)
-
-
- Example:
- ════════
-
- set .txt="c:\text;;J
-
-
- specifies that all files with an extension of .TXT should be
- rerouted first to the text subdirectory but must not be newly created
- here. If a file is to be created then it will be done on the current
- directory.
-
- set myfile.hlp=!;c:\data\myfile.hlp
-
- specifies that all requests for Myfile.HLP should be routed
- to the current default subdirectory. If it is not found then search
- the data subdirectory. The Myfile.HLP file in the current subdirectory
- cannot be renamed, or deleted.
-
- set te*.doc=!"c:\word
-
- specifies that all requests for any file starting with Te and
- having the extension .DOC should be searched for in the word
- subdirectory but no new files with Te*.DOC can be created, erased
- or renamed in this subdirectory.
-
- This protection is only available if Universal Globals is active and
- does not exist with Uni .RU off.
-
-
- Reviewing the Set Path Commands
- ═══════════════════════════════
-
- To find out what set paths are currently in effect just type at the
- > prompt
-
- SET
-
- DOS will give you a complete listing of the environment.
-
-
- Deleting the Set Path Commands
- ══════════════════════════════
-
- You can delete a processing rule any time you wish by entering a Set
- command that specifies the rule you want to remove with no string
- to the right of the equal sign. For example after typing Set you
- see the following path in the environment:
-
- 'dbase=C:\dbaseii\util;a:\
-
- You would remove this path by typing:
-
- set 'dbase=
-
-
- Using Ram Disks
- ═══════════════
-
- A ram disk is an electronic storage disk created in memory. Ram disks
- are combine the speed of electronic storage and processing under the
- guise of a disk drive but are volatile. Turn the and the information
- is gone. Universal Globals 3.40 treats ram disks like any other drive
- and paths can be set to these locations.
-
-
- Ram Disks With Files
- ════════════════════
-
- All temporary files can be sent to a ram disk designated as D:
-
-
- Example:
- ════════
-
- set .tmp=D:\
-
- set .dat=D:\
-
-
- would send all data files and listing files with the appropriate extensions
- to the root directory of ram disk D:
-
- Suppose you would like to speed up WordStar you could do the following:
-
-
- Copy c:\wordstar\ws.* d:/v
-
- Copy c:\wordstar\*.ovl d:\v
-
- Set 'ws=D:\
-
- Set .ovl=D:\
-
- Now whenever you want WordStar from any subdirectory it would an operate
- much faster being located on the ram disk and your .DOC or .TXT
- files would be on the default subdirectory on a permanent disk.
-
-
- Ram Disks for Pipes
- ═══════════════════
-
- Ram disks are very useful with pipes. A pipe is a temporary file that
- is created by DOS so that the output of one program can be used directly
- by another. The piping facility of DOS uses indirect %PIPEn
- files to provide the inter-command communication. The path for such
- pipes are
-
- d:/%PIPEn.$$$
-
-
- where d is the current device or drive and n is the number
- of the particular pipe.
-
- A Set command would be as follows:
-
- set '/PIPE?=d:\
-
-
- where d: is the ramdisk and with the P mode on or alternatively
-
- set .$$$=d:\
-
- with P mode on and the Q mode reset.
-
-
- Set Path Command Examples
- ═════════════════════════
-
- The following examples show some of the uses of the DOS Set
- path command for use with Universal Globals 3.40
-
-
- Example 1:
- ══════════
-
- set '123=;!C:\lotus
-
- All requests for files with the file name of 123 and any extensions
- are to be rerouted first to the current default directory, if not
- found then search the lotus subdirectory. All new files with the same
- name are to be created in the current directory and may not be erased
- or renamed in the lotus subdirectory.
-
-
- Example 2:
- ══════════
-
- set .doc=";c:\docs\dates;c:\docs\data
-
- All requests for files with the extension .DOC are to be rerouted
- first to the current directory but no doc file may be added to this
- directory. If not found here then search subdirectory \docs\dates
- and finally search \docs\data.
-
-
- Example 3:
- ══════════
-
- set univ.doc=c:\wordstar\global.txt
-
- Whenever an editor or word processor calls to read Univ.DOC,
- Universal Globals redirects this to read Global.TXT in the WordStar
- subdirectory on the C: drive.
-
-
- The Uni Commands
- ════════════════
-
- The second way on controlling the Universal Globals environment is
- by invoking Uni.COM with parameters. There are a number of parameters
- that allow you to specify when and how you want Universal Globals
- 3.40 to function.
-
-
- Turning Univ On and Off
- ═══════════════════════
-
- The basic command is simply Uni .RU on. This turns Universal
- Globals processing on. When you first start up your system Uni is
- inactive unless explicitly set on.
-
- To turn Univ off
-
- Type Uni .RU off
-
- When you turn Uni .RU off the mode options are not changed.
-
-
- Univ Parameter Options
- ══════════════════════
-
- In addition to turning Uni .RU on and Uni .RU off you
- can invoke certain options. There are two kinds of options:
-
- Search Parameters: These tell Universal Globals
- how to handle file specifications that match set commands.
-
- Modifier Parameters: These direct Universal Globals to take some action.
-
-
- Search Mode Parameters
- ══════════════════════
-
- Universal Globals allows you to specify whether or not you want the
- system to handle file specifications that contain explicit file and
- or path specifications. If you do not want Universal Globals to handle
- such specifications it passes them back to DOS without searching or
- changing them. If you do want these handled then the system reroutes
- the requests according to specifications.
-
-
- F mode:
- ═══════
-
- Filename implicit mode. Filenames without extensions are searched
- for after prefixing a single quote '. The strings to the right
- of the equal sign are considered as subdirectories. Thus filename
- implicit mode is on. Required if Set command contains the following
- ':
-
- set 'dbase=c:\dbaseii
-
-
- E mode:
- ═══════
-
- Extension Implicit mode. Extensions without filenames are searched
- for after prefixing a single period . . The strings to the right
- of the equal sign are considered as subdirectories. Thus the extension
- implicit mode is on. Required if Set command contains the following
- .:
-
- set .ovl=c:\wordstar
-
-
- X mode:
- ═══════
-
- Explicit mode on. The complete filename or path is searched for. The
- strings to the right of the equal sign are considered as files.
-
- Modifier Mode Parameters
- ════════════════════════
-
-
- D mode:
- ═══════
-
- Device Specification on. To direct Universal Globals to handle file
- specifications in which the drive is explicitly specified use the
- D mode parameter. Required if the Set command contains the
- following:
-
- set A:new.lst=c:\old
-
- Thus filenames including a device specifier will be rerouted only
- if this mode is set. Some programs automatically add drive and path
- specifications to your file specifications so you may have to turn
- either D or P mode on to allow Universal Globals to work
- as you want to. Universal Globals will not process any global filename
- characters ? or * unless both the D and P
- modes are on .
-
-
- P mode:
- ═══════
-
- Paths are rerouted. Entire paths may be rerouted . Occasionally DOS
- may parse the path before presenting it to file system and thus Universal
- Globals may not know that the original request included a path. If
- the P mode is on, Universal Globals ignores path specifications
- in files specified to a command or program, whether on not the set
- path command specifies a path. You should note that although implicit
- set paths mean that the actual file specification is to be used, Universal
- Globals will only process file specifications that contain a path
- if P mode is on and will only process file specifications that
- contain a drive if the D mode is on.
-
-
- T mode:
- ═══════
-
- Temporary paths on. This mode must be on in order to process paths
- in the environment that contain a # (pound sign) prefix. Such
- paths are only rerouted when this mode is on. This mode is needed
- in the following Set path command:
-
- set .ovr=#C:\era S mode:
-
-
- Ignore paths.
- ═════════════
-
- Filenames beginning with an @ sign are not processed. This parameter
- when turned on allows you to exclude certain files. Use with the following
- Set command.
-
- set @myfile.COM=C:\money
-
-
- Q mode:
- ═══════
-
- Quality Mode. Will allow paths to be processed only with the F
- and X mode.
-
-
- * mode:
- ═══════
-
- Turns on all modes.
-
-
- How To Set Parameters
- ═════════════════════
-
- The command Uni .RU -.*FEX on turns the filename and extension
- implicit, and explicit modes on but all modifier modes are off. A
- . (period) before any mode letter turns off that mode. So a
- period before the * turns off all the modes and then FEX
- are turned back on.
-
- The command Uni .RU -* on turns on all the default modes.
-
- The command Uni on turns on whatever modes were activated previously.
-
- The all modes on setting is a good default setting. The Uni .RU
- command with no parameters displays the previously active modes and
- the latest path used. A * for the last file indicates that no
- paths from the environment could find the file.
-
-
- CHAPTER 4
- ═════════
-
-
- Other Universal Global Commands
- ═══════════════════════════════
-
-
- Uni .RA <options>
- ══════════════════
-
- Used to change the attributes of a file or directory. This command
- will set or reset specific attributes leaving the others unchanged
- and displays the current attributes. Wildcards are allowable.
-
-
- Uni .RE <options>
- ══════════════════
-
- Increases the size of the initial DOS environment so a larger number
- of set path commands can be used. The default is 10 or 160 bytes.
-
-
- Uni .RK <options>
- ══════════════════
-
- Displays a 24 hour clock in the right upper quadrant of the screen.
- Operates with Universal Globals 3.40
-
-
- Uni .RW <options>
- ══════════════════
-
- Loads the date and time saved within Command.COM, to be used with
- Savdate.
-
-
- Uni .RV <options>
- ══════════════════
-
- Saves the date and time within Command.COM to be used with Sysdate.
-
-
- Uni .RC<options>
- ══════════════════
-
- Clears the environment of temporary strings.
-
-
- Uni .RX <options>
- ══════════════════
-
- Shows entire directory with attribute type, date, length etc. It will
- also show any hidden directories created with Mdsecr.COM.
-
-
- Uni .RD <options>
- ══════════════════
-
- Change directory into a hidden directory. The standard cd or
- chdir will not locate a directory created with Mdsecr.COM.
- You can use this hidden directory as you would use any other subdirectory.
-
-
- Uni .RM <options>
- ══════════════════
-
- Make a hidden directory. The program will prompt you for a 7 letter
- name and create a hidden directory that will not display on a normal
- DOS listing. Its contents will also be hidden.
-
-
- Uni .RR <options>
- ══════════════════
-
- Will remove the hidden directory from the disk. Same as rd but rd
- will not find a hidden directory created with Mdsecr.COM. The
- directory must have all files removed first in order to be erased.
-
-
- Uni .RP <options>
- ══════════════════
-
- This command is used when a program overrides all device specification
- parsing and insists that an overlay must be in the default subdirectory.
-
-
- The ATTRIB Command (Uni .RA) NOT IN DEMO VERSION
- ════════════════════════════════════════════════
-
-
- Syntax:
- ═══════
-
- Uni .RA [-attributes] [filename]
-
-
- where attributes is any combination of the following attribute letters:
-
- S System
-
- H Hidden
-
- A Archive
-
- R Read Only
-
- A . (period) before any attribute letter will remove the attribute.
- Any attributes not referred to in the command line are not changed.
-
-
-
- Example 1:
- ══════════
-
- Uni .RA -hsr hideme.fil
-
- reply is
-
- hideme.fil hsr
-
-
- Example 2:
- ══════════
-
- Uni .RA -hsr ibm*.*
-
- reply is
-
- Ibmbio.COM hsr
-
- IbmDOS.COM hsr
-
-
- Example 3:
- ══════════
-
- Uni .RA -.h.r.s ibm*.*
-
- reply is
-
- Ibmbio.COM
-
- IbmDOS.COM
-
- If attributes are not provided then the current attributes of the
- files are displayed. If no extension is provided all extensions match.
- Wild cards of ? and * are permitted. The directory D
- may be displayed but cannot be altered.
-
-
- The Alter Command (Uni .RE) NOT IN DEMO VERSION
- ═══════════════════════════════════════════════
-
- As previously stated, the paths are setup using the DOS Set command.
- The command which is part of the DOS instruction set puts whatever
- string follows it into the DOS environment.
-
- If you define a large number of set instructions or use many set statements
- you will quickly run out of room in DOS. DOS 2.xx usually has room
- for approximately 10 set commands. If this number is exceeded then
- the error message:
-
- OUT OF ENVIRONMENT SPACE
-
-
- occurs. In this case you can use the Uni .RE command to change
- IBM DOS size and define more set statements.
-
- To use Uni .RE make sure that the default drive is the boot
- drive or in other words has the Command.COM on this drive and
- make sure that you are in the root directory with the Command.COM.
-
-
- Syntax:
- ═══════
- Uni .RE [-size] [new header]
-
-
- where -size is the DOS environment size desired created in 16 byte
- sections ( if size=20 then 320 bytes are created) where [new header]
- is a 29 character string that replaces the IBM message. This header
- would be displayed at startup. You could use the header as follows
-
- Uni .RE -20 Command altered by 320 bytes.
-
- The syntax structure is displayed whenever you type alter without
- any parameters following.
-
- The -size specified must be between 10 and 45 or greater than
- 68. This gives 160 to 720 bytes or greater than 1088 bytes additional
- storage space. The default for command com is 10 or 160 bytes.
-
- Do not specify size between 45 and 68 or the Command.COM initialization
- code will be overwritten.
-
- An ideal -size is 45 or 720 bytes additional.
-
-
- Clock Command (Uni .RK)
- ═══════════════════════
-
- The Uni .RK command displays a 24 date clock in the right upper
- quadrant of the screen. It will beep on the hour and can be set to
- ring an alarm at any given time. It takes its time from the system
- time either set by date and time at the initial sign-on or from an
- onboard battery clock.
-
- To turn the clock on type
-
- Uni .RK + on
-
- To turn the clock off type
-
- Uni .RK - off
-
-
- this will stop the clock and have it disappear from the screen. To
- set the alarm type
-
- Uni .RK hh:mm:ss
-
-
- in 24 hour format so that one pm is 13:00 etc. where hh is hours,
- mm is minutes and ss is seconds.
-
-
- Sysdate Command (Uni .RW)
- ═════════════════════════
-
- This command is useful for those who do not have an on board system
- battery clock. This command loads the date and time most recently
- saved by UNI .RV. This command is useful in an Autoexec.BAT file
- when there is no hardware clock. Sysdate would be called prior to
- use for the date and time and UNI .RV is run immediately after.
-
-
- Savdate Command (Uni .RV)
- ═════════════════════════
-
- This command is useful for those who do not have an on board system
- battery clock. This command saves the current date and time for Uni
- .RW. This command is useful in an Autoexec.BAT file when
- there is no hardware clock. UNI .RW would be called prior to
- asking for the date and time and UNI .RV immediately after.
-
-
- Clear Command (Uni .RC)
- ═══════════════════════
-
- This command removes broken strings from the environment and if followed
- by the parameter will remove all temporary designated strings.
-
- To remove broken strings from the environment type
-
- Uni .RC
-
- To remove all temporary strings and paths designated in the set path
- command by:
-
- set 'rbase=#C:\rb5k
-
-
- with the # (pound sign) then type
-
- Uni .RC -#
-
- The environment is searched and the string paths containing =#
- are broken and if the -# parameter is specified, all broken
- strings are removed.
-
- Broken strings are considered as null terminated strings that have
- no equal signs.
-
-
- Diren Command (Uni .R1) NOT AVAILABLE IN DEMO
- ═════════════════════════════════════════════
-
- The UNI .R1 command allows the renaming of files, subdirectories
- first level from the root directory, and volume labels. To rename
- a file type
-
- Uni .R1 [d:][oldfilename.ext] [newfilename.ext]
-
-
- where d: is the current drive, oldfilename is the filename you
- wish to change and new filename is the new filename you wish to change
- to.
-
- To change a subdirectory type
-
- Uni .R1 [d:][oldsubdirectory name] [newsubdirectory name]
-
-
- where d: is the current drive, oldsubdirectory name is the subdirectory
- in the first level (C:\oldsubdirectory) not (C:\name\oldsubdirectory)
- that you wish to change and newsubdirectory name is the new name for
- the subdirectory.
-
- To change a volume label type
-
- Uni .R1 [d:] [oldvolume label] [newvolume label]
-
-
- where d: is the drive the volume label is located on, oldvolume
- label is the old volume labelname and newvolume label is the new name
- you wish to change to.
-
-
- Sxdir Command (Uni .RX)
- ═══════════════════════
-
- This command is used to display the entire contents of a directory
- or the directory can be selected by attributes and/or pathname.
-
-
- Syntax:
- ═══════
- Uni .RX [-attributes] [d:][path]
-
-
- where -attributes is any combination of the attribute characters
- or . (period) preceded attribute characters.
-
- The attributes are as follows:
-
- S System
-
- H Hidden
-
- A Archive
-
- R Read only
-
- D Directory
-
- A . (period) preceding any of the above attributes is considered
- as a "not" or "don't want attribute." Any attribute not given in the
- parameter is not considered.
-
-
-
- Example 1:
- ══════════
-
- Uni .RX -hrs C:\util
-
-
- Display all the files that are hidden, read only or system in the
- subdirectory util on drive C:
-
-
- Example 2:
- ══════════
-
- Uni .RX -h.r.sa B:\over
-
- Display all the files that are hidden or archived but display no files
- that are hidden read only system, read only system, read only or system
- on drive B: subdirectory over.
-
-
- Setpath Command (Uni .RP) NOT IN DEMO VERSION
- ═════════════════════════════════════════════
-
- Occasionally a program due to some oddity creates a problem with the
- device use and drive allocation. One such program is DbaseII by Ashton
- Tate. Dbase.COM only calls Dbaseovr.COM in the same default
- subdirectory. If you should find this occurs with certain programs
- use the Setpath command in the batch file.
-
-
- Syntax:
- ═══════
-
- Uni .RP =[d:]\filepath
-
- where [d:] is the drive and \filepath is the subdirectory of the difficult
- program. For dBase II this would then be:
-
- Uni .RP =C:\dbaseii
-
- After this you will have no further problems with drive allocations.
- See the udb2.bat file on the disk for use of this command.
-
-
- CDSECR.COM (Uni .RD)
- ════════════════════
-
- Change directory to a hidden directory.
-
-
-
- Syntax:
- ═══════
-
- Uni .RD <option>
-
- You will be asked to enter a 7 letter hidden directory name that you
- wish to change to.
-
-
- MDSECR.COM (Uni .RM)
- ════════════════════
-
- Make a hidden directory. Note!! you will not be able to remove
- this directory if you are using the DEMO Version.
-
-
- Syntax:
- ═══════
-
- Uni .RM <option>
-
- You will be asked to enter a 7 letter hidden directory name that you
- wish to create.
-
-
- RDSECR.COM (Uni .RR) NOT AVAILABLE IN DEMO VERSION
- ══════════════════════════════════════════════════
-
- Remove a hidden directory.
-
-
-
- Syntax:
- ═══════
-
- Uni .RR <option>
-
- You will be asked to enter a 7 letter hidden directory name that you
- wish to remove.
-
-
- SUBD.COM (Uni .R2) NOT AVAILABLE IN DEMO VERSION
- ════════════════════════════════════════════════
-
- Transfer file from one subdirectory to another.
-
-
- Syntax:
- ═══════
-
- UNI .R2 [\source_path]\source_filename[.ext] [\target_path]
-
- Example:
- ════════
-
- UNI .R2 \TEST\FILENAME.* \NEWTEST\LEVELONE
-
- NOTE: 1) Use any combination of case letters
-
- NOTE: 2) You can use wildcards (* or ?)
-
-
- ALS.COM (Uni .R3) NOT AVAILABLE IN DEMO
- ═══════════════════════════════════════
-
- Will search for a file type on a range of disks.
-
-
- Syntax:
- ═══════
-
- UNI .R3
-
- Example:
- ════════
-
- File name to be searched : new
-
- Search start from Drive : A B C D E F
-
- Select drive letter from above : c
-
- Search starts at Drive C
-
- Search to Drive : C D E F
-
- Select drive letter from above : c
-
- Search stops at Drive C
-
- press escape to exit or press RETURN when ready...
-
-
- MEM.COM (Uni .R4) NOT AVAILABLE IN DEMO VERSION
- ═══════════════════════════════════════════════
-
- Will return the amount of available ram for usage by a program
-
-
- Syntax:
- ═══════
-
- UNI .R4
-
- MODE43 (UNI .R5) NOT AVAILABLE IN DEMO PROGRAM
- ══════════════════════════════════════════════
-
- will change the screen in EGA from 25 to 43 lines and back
-
-
- Syntax:
- ═══════
- UNI .R5 /25:/43
-
-
- CHAPTER 5
- ═════════
-
-
- Some Guidelines
- ═══════════════
-
- Like all powerful utilities Universal Globals can be extremely
- useful but it can also have some unexpected results if you are not
- familiar with it or are not careful. If you create set paths that
- overlap one another and try to copy or erase files you may receive
- some unpleasant surprises. Also if you use both the DOS Path
- command Path = and Universal Globals 3.40 Set path commands
- to handle programs and batch files and leave the D, P and
- or Q modes on, some unexpected results may occur. The computer
- and Universal Globals will do exactly what you program so be careful!!
-
-
- Turn Universal Globals 3.40 off whenever you wish to copy, backup,
- restore, or delete unless you are sure you know what the list of set
- path commands will do.
-
- To turn off all the help screens at the beginning of Uni.COM or any
- other program issue the command:
-
- Uni .RU on> null
-
- or
-
- Uni . RU off >nul
-
-
- whenever you operate Uni .RU or any other command. In this way
- all that sign on information will not be displayed to the screen.
-
-
- When possible, use batch files containing temporary set path commands
- for running a particular program as is done with the sample bat programs
- supplied. Issue a Uni .RC -# > null at the end of the bat file
- to clear all temporary strings.
-
-
- Example:
- ════════
-
- echo off Rbase 5000
-
- cls
-
- echo ... Rbase 5000 Operating under Universal Globals
-
- echo ... Please wait
-
- set 'Rbase=#C:\rb5k
-
- set .dat=#C:\rb5k
-
- ....
-
- ....
-
- set .ovr=#C:\rb5k
-
- Uni .RU -* on > null
-
- rbase
-
- UNI .RC -# > null
-
- Make your set path commands specific as possible. If you want to reroute
- a file named Employ.DBF then write it as
-
- set employee.dbf=C:\data\employee.dbf
-
- and not
-
- set 'employee=C:\data
-
- or
-
- set .dbf=C:\data
-
- If you choose to create a permanent series of Set path commands
- as in the case of frequently using WordStar or for files copied to
- Ram disk, put them all in a single .BAT file where they will
- be easy to find and modify.
-
- It is a good idea to add the following line to your Autoexec.BAT
- file.
-
- Prompt $P$G
-
- This makes DOS display the default drive letter d: and the current
- directory you are in. This is displayed routinely with the prompt >.
-
- Universal Globals set path commands may or may not work the same way
- with all DOS commands. For example the Dir command strips off
- path specifications before processing and thus gives the same result
- whether or not the P mode is on, but the Type command
- uses the full name as specified.
-
- If you are specifying a Set path command for an executable .COM,
- .EXE or .BAT file, the Set path should specify only
- one location. This is necessary for DOS 3.xx and is a good idea for
- DOS 2.xx.
-
- When Uni .RU is turned on with the Uni .RU on command
- the D mode is by default on and the P mode is off. The
- D mode is made active by default because many programs automatically
- specify a drive specification. Also D mode must be on for piping
- to Ramdisks. The P mode is off by default since it is assumed
- that if you specify a path with a command from the keyboard, such
- as Dir or Type, you want the exact path specification
- followed as entered. However depending upon your personal desires
- you may want the D and P mode either off or on at initiation.
- You can then specify this requirement in the Autoexec.BAT file
- as Uni .RU .DP on. These modes will be remembered in subsequent
- Uni .RU off and on commands.
-
-
- CHAPTER 6
- ═════════
-
- GLOBALS Version 3.40
- ════════════════════
-
- July 1987
-
- Copyright <189> 1983,1984,1985, 1986, 1987 Goldensoft Software
-
- P.O. Box 1178
-
- Peoria Arizona 85345
-
- Globals 3.40 derived from Universal Globals by Goldensoft is a path
- altering and maintaining utility allowing your computer to maintain
- any set subdirectories as one big directory.
-
- Globals 3.40 is a general purpose replacement for the Path command
- but unlike Path, Globals 3.40 allows the computer to access
- files of all types, .COM, .EXE, .OVL, .DAT
- etc. Similar to Universal Globals 3.40, Globals 3.40 works with basically
- any file type. Data files, help files, overlay files, batch files,
- .COM files, .EXE files, text files, program files, object
- files, and library files all become available from any subdirectory
- within the same drive. What Universal Globals doesn't operate on Globals
- 3.40 will and vise versa.
-
- Globals 3.0 is a memory resident program which occupies approximately
- 1K of memory and will operate with MS-DOS and PC-DOS 2.xx and 3.xx.
-
-
- Command Syntax
- ══════════════
-
- Globals' 3.40 command syntax is similar to Universal Globals The Globals
- 3.40 path is set by typing
-
- UNI .RG =[d:]\path;[d:]\path\path;[d:]\path...
-
- By just typing
-
- UNI .RG
-
-
- with no arguments the existing path will be displayed
-
- Universal Global defined path =C:\utility\backgame
-
- If no paths were defined then by just typing globals you will see
-
-
- Universal Global 3.40 path is not presently defined
-
- Type
-
- Uni .RG .?
-
-
- for help
-
- Uni .RG (Uni .RG;) followed by a semi colon clears the
- defined path so by now typing Global you will see
-
- Universal Global 3.40 path is not presently defined
-
- Type Uni .RG .? for help
-
- It is advisable to deactivate Uni .RG 3.40 if you do not actually
- require a defined path at the present. The previously defined path
- will be maintained. To deactivate type
-
- Uni .RG .-
-
- The following message is displayed:
-
- Universal Global 3.40 defined path=C:\basica
-
- Universal Global 3.40 is now de-activated
-
- You may re-activate globals 3.40 at any time by typing
-
- Uni .RG .+
-
- The following message is displayed
-
- Universal Global 3.40 is Now Active
-
- It is possible to edit the defined path without retyping by entering
- Uni .RG .*. This places you in the edit mode and the following message
- is displayed
-
- Universal Global defined path =C:\basica
-
- Type Uni .RG .? for help
-
- - {this is the editing line} {you may use function keys}
-
-
- Help
- ════
-
- If you need help the as stated
-
- Type
-
- Uni .RG .?
-
-
- and the following help screen is displayed
-
- GLOBAL 3.40
-
- Global is a general purpose replacement for the DOS path command.
- Global works with arbitrary programs on arbitrary files.
-
- To use global type
-
- Uni .RG .[<option>]
-
-
- where option is the global option or function.
-
- Available Functions are:
-
- Set Global Path........ .RG [d:]\path;[d:]\path\path
-
- Clean Environment........ .RG;
-
- Display Global Set Path.. .RG
-
- Turn on Global........... .RG .+
-
- Turn off Global.......... .RG .-
-
- Edit Global Path......... .RG .*
-
- Help with Global......... .RG .?
-
- Registration Please...... .RG .@
-
- Copyright (c) 1983,1984,1985,1986,1987 by Goldensoft Software P.O.
- Box 1178 Peoria Arizona 85345
-
-
- User Notes
- ══════════
-
- 1. It is advisable to place UNI.COM in a defined path
- subdirectory that is initially defined with the DOS path command in
- a .BAT file.
-
- General.BAT
-
- echo off
-
- cls path=c:\util;c:\;c:\bat
-
- etc ...
-
- ^Z
-
- Uni would normally be placed on the c:\util subdirectory and thus
- may easily be found.
-
- 2. Globals 3.4 (.RG), is a smaller version without the directory
- control available in Univ 3.40 (.RU).
-
- 3. If both a global's defined path and a DOS path are specified
- the globals path takes priority.The path will only be invoked if globals
- is unsuccessful.
-
- 4. The Globals' 3.40 .RG .* edit function will not work with
- the function keys if they have been changed with a key macro program.
-
- 5. Should any programs be incompatible with Globals 3.4 then
- simply de-activate Globals 3.40 with .RG .- command. You may
- later re-activate Globals 3.40 with .RG .+ command.
-
-
- Example .BAT File
- ═════════════════
-
- copy con Example.BAT ;created from console
-
- echo off
-
- rem turn echo off
-
- rem clear screen
-
- cls
-
- rem dbase ii is in subdir C:\dbaseii
-
- UNI .RG C:\dbaseii
-
- rem turn globals 3.40 on dbase active dbase
-
- UNI .RG .+
-
- rem turn globals 3.40 off
-
- Uni .RG .-
-
- rem press F6 to end file
-
- ^Z
-
-
- Example Autoexec.BAT File
- ═════════════════════════
-
- copy con Autoexec.BAT ;created from console
-
- echo off
-
- Rem turn echo off
-
- Rem clear screen
-
- cls
-
- path=C:\;C:\bat;C:\util ;bat files located in C:\bat
-
- rem globals 3.40 located in C:\util other programs loaded
-
- rem load other programs
-
- ^Z ;press F6 to end file
-
-
-
-