home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / cdsg.zip / read.me < prev   
Text File  |  1993-09-20  |  3KB  |  70 lines

  1. Change Directory Set/Go             Last Update Sept 20/93
  2. by Glen Little
  3.  
  4. Quick Intro:
  5. This package was put together to address a particular problem.  Often, while
  6. using a command prompt, I am in a subdirectory many levels deep when I
  7. realize that I want to switch from DOS to OS/2 or vice versa.
  8.  
  9. With this package in place, I can simply type  CDS xxxx  from any prompt. Then
  10. switch to the prompt I want to use and type  CDG xxxx  to move to the same
  11. directory.
  12.  
  13. This is also a simple quick change directory command to any directory you have
  14. previously stored. You can use any nickname you like for each directory.
  15.  
  16.  
  17. Contents:
  18.   READ.ME      This file...
  19. ---------------DOS files
  20.   CDS.BAT      CD Save
  21.   CDG.EXE      CD Go
  22.   CDG.PAS      CD Go Pascal source
  23.   CDLIST.EXE   CD List
  24.   CDLIST.PAS   CD List Pascal source
  25. ---------------OS/2 files
  26.   CDS.CMD      CD Save
  27.   CDG.CMD      CD Go
  28.   CDLIST.CMD   CD List
  29.  
  30.  
  31. Installation:
  32.   1. Add a line like this to CONFIG.SYS and each AUTOEXEC.BAT
  33.     SET CDSG=C:\TEMP\CDSG
  34.      This must be the name of an empty directory that will be used to store the
  35.      files created and used.  Each file will contain just one short line of text
  36.      so this directory will not take much room, even if it does contain many
  37.      files.
  38.   2. Copy the .BAT and .EXE files into a directory on your DOS path. Be sure
  39.      this directory is not on the OS/2 path, or is at least after the directory
  40.      used for the OS/2 CDSG files.
  41.   3. Copy the .CMD files into a directory on your OS/2 path.
  42.   4. To use immediately, you will now need to type the line shown in Step 1 in
  43.      both an OS/2 and DOS command prompt. After you reboot, this will be done
  44.      'automatically' for you.
  45.  
  46. To Use:
  47.   At any command prompt, DOS or OS/2, you can save your current position (ie.
  48.   current drive and path) by typing  CDS xxxx  where xxxx is any Name.
  49.  
  50.   The Name will be used as a filename. so follow the standard FAT restrictions
  51.   when specifying a name for CDS.  If you use HPFS in OS/2, CDS in OS/2 will
  52.   allow HPFS names to be used.  However, the DOS portion of CDSG will not be
  53.   able to access them.
  54.  
  55.   At any time, at any prompt, from any directory, you may type  CDG xxxx  where
  56.   xxxx is any Name that was previously stored. If it is available to you, you
  57.   will be moved to the drive and directory that was current when xxxx was last
  58.   saved.
  59.  
  60.   To see a list of what directories have been stored or saved, type CDLIST from
  61.   DOS or OS/2.
  62.  
  63.  
  64.  
  65. Please feel free to modify this for your own non-profit purposes.
  66.  
  67. Contact as of Sept 93:  internet: GLITTLE@BCSC02.gov.bc.ca
  68.             phone:      604-660-0124
  69.  
  70.