home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / append / summary.hlp < prev   
Encoding:
Text File  |  1989-01-01  |  2.0 KB  |  39 lines

  1.                            APPEND
  2.  
  3. APPEND is an external command that tells DOS to search certain directories 
  4. when looking for a file with no extension or an extension other than .EXE, 
  5. .COM, or .BAT, in addition to the current directory. Some versions of DOS 
  6. prior to 3.3 may have this command.
  7.  
  8.     APPEND [/X] [/E]
  9. or
  10.     APPEND [[d1:]pathname1][;[d2:]pathname2] 
  11.                         [/PATH]        [new DOS 4.0]
  12.  
  13. [[d:]pathname] is the directory to search for a file.
  14.  
  15. /X is used to eXtend the use of the APPEND to the .EXE, .COM, and .BAT 
  16.     extensions when searching pathnames given on subsequent APPEND commands.
  17.     The default is that such extensions will not be found by APPEND when
  18.     finding files. In some versions of DOS 4.0, /X:ON and /X:OFF can be
  19.     used to turn this function on and off without altering the contents of
  20.     the path. /X:OFF is the default. [Not allowed in OS/2]
  21.  
  22. /E is used to create the environment variable APPEND which will contain the
  23.     directory list(s) specified on subsequent APPEND command(s). The APPEND 
  24.     variable can then be used by other programs, and modified by subsequent 
  25.     APPEND commands and the SET command, after APPEND /E creates it.
  26.  
  27. /PATH is used to control APPEND searching for files when an explicit drive
  28.     letter or pathname is specified with the filename. /PATH:OFF stops 
  29.     searches, /PATH:ON allows searches. /PATH:ON is the default.
  30.  
  31. Multiple directories are specified for the search by separating several 
  32. [[d:]pathname]'s by semicolons (;). The order of the directory search is 
  33. the same as the order they were specified with the APPEND command, but 
  34. the current directory is always searched first. 
  35.  
  36. APPEND with no options will display the current path. Any ASSIGN commands 
  37. used must appear after the first APPEND command. BACKUP and RESTORE should 
  38. not be run when an APPEND path is defined. Turn APPEND off (APPEND ;) first.
  39.