[Toc][Index]

SHRALIAS - Load or unload SHRALIAS.EXE

 
 Purpose:    Retains global command history, directory history, and alias 
             lists in memory when the command processor is not running. 
             
 Format:     SHRALIAS [/U] 
             
             /U(nload)                       
 
 Usage 
 When you close all CMD.EXE sessions, the memory for the global command 
 history, global directory history, and global alias list is released.  If 
 you want the lists to be retained in memory even when no command 
 processor session is running, you need to execute SHRALIAS. 
 The SHRALIAS command starts and initializes SHRALIAS.EXE, a small program 
 which remains active and retains global lists when CMD.EXE is not 
 running.  In order to start the program, SHRALIAS must be able to find 
 SHRALIAS.EXE either in the same directory as CMD.EXE, or in a directory 
 in your PATH.  You cannot run SHRALIAS.EXE directly, it must be run by 
 the SHRALIAS command. 
 Once SHRALIAS has been executed, the global lists will be retained in 
 memory until you use SHRALIAS /U to unload the lists, or until you shut 
 down your operating system. 
 SHRALIAS will not work unless you have at least one copy of CMD.EXE 
 running with global alias, command history, and directory history lists 
 enabled.  If the required global lists are not found, SHRALIAS will 
 display an error. 
 If you start SHRALIAS from a temporary CMD.EXE session which exits after 
 starting SHRALIAS (for example, by executing SHRALIAS in your OS/2 
 STARTUP.CMD file), the command processor session may terminate and 
 discard the shared lists before SHRALIAS can attach to them.  In this 
 case SHRALIAS.EXE will not be loaded.  If you experience this problem, 
 add a short delay with the DELAY command after SHRALIAS is loaded and 
 before your session exits. 
 For more information about global history and alias lists, see Local and 
 Global Command History under Command History and Recall, Local and Global 
 Directory History, and Local and Global Aliases under the ALIAS command. 
 Options 
    /U:     (Unload) Shuts down SHRALIAS.EXE.  If SHRALIAS is not loaded 
            again, the memory used by global command history, directory 
            history, and alias lists will be released when the last copy 
            of CMD.EXE exits. 
 

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs