CD
CD Path$
 
Parameters:

    Path$ = The path or device your wish to make the activate directory
Returns: NONE
 

      The CD command sets your programs current working folder or device.



FACTS:


      * CD can be used to change to any device attached to your computer.



Mini Tutorial:


      This example changes the current directory using the CD command and then displays the current directory.

  
; Set the current dir to the C drive
  CD "C:"
  
; Display the Current dir
  Print CurrentDir$()
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  



This example would output.


  
C:
  

 
Related Info: CurrentDir$ | CurrentDrive$ | DriveExist | FolderExist :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com