


     CD(V1.3 in C:) (2.x/3.x Internal)



     NAME
          CD - Report or change the current directory.

     SYNOPSIS
          CD Dir 

     DESCRIPTION
            CD when given a valid directory name, makes that 
        directory the current or default working directory. To 
        display the current directory, type CD without any 
        arguments.

            It also has a simple pattern matching capability.  
        You may use a wildcard specification as an argument to 
        CD, CD will make the first directory it finds that 
        matches the pattern the current directory. Pattern 
        matching is utilized with the Amiga wildcards).

            You can also move up one directory by using multiple 
        slashes (/). For instance, if the current directory is: 
        Work:Art/AGA by typing CD // you will change to the Work: 
        directory. 

            2.x/3.x only: You can also change directories by 
        simply typing the path name at the shell prompt without 
        typing 'CD'. The CD command is only needed if there are 
        any spaces in the path name. In this case you must place 
        the entire path in quotes.

            NB: AmigaDOS handles default drives unlike any other 
        personal computer. Let's say you insert a disk named 
        Stuff: in df0: and type CD df0:. Then, you remove the 
        disk and insert a disk named Things: and type dir df0:, 
        you will be requested to insert Stuff: in df0:.  To get 
        around this, merely type Cd df0: whenever a new disk is 
        inserted. This makes your Amiga read the new volume label 
        and it forgets all about the old disk.

         

      EXAMPLE
          1. To change directory to df0:libs

              CD DF0:LIBS
          
          2. To report current directory

              CD 


          3. To make any disk in Drive 0 the current directory

               CD ROOT  


	      4. To change back to your root directory (2.x/3/x only)

               CD :      


          5. To move back up two directories (2.x/3.x only)    

               CD //  
  


     SEE ALSO
          Prompt
