home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / d / dsharp10.zip / APATH.BAT next >
DOS Batch File  |  1993-01-24  |  420b  |  13 lines

  1. @ECHO OFF
  2. :::NOTE: The "#" symbol will not work with 4DOS or NDOS
  3. :::      Change it to an alphanumeric character (X, 1, etc) if you wish
  4. IF "%1%P#%"=="" ECHO APPEND A DIRECTORY TO PATH:
  5. IF "%1%P#%"=="" ECHO     %0 newdirectory
  6. IF NOT "%P#%"=="" PATH %OPATH%
  7. IF NOT "%P#%"=="" SET OPATH=
  8. IF NOT "%P#%"=="" SET P#=
  9. IF NOT "%1"=="" SET OPATH=%PATH%
  10. IF NOT "%1"=="" SET P#=#
  11. IF NOT "%1"=="" PATH %PATH%;%1
  12. PATH
  13.