CurrentDrive$
Drive$ = CurrentDrive$()
 
Parameters: NONE
Returns:

    Drive$ = The current drive
 

      The CurrentDrive$ function returns the current working drive letter.



FACTS:


      * none




Mini Tutorial:


      This example display the current directory.


  
; Display the Current Drive
  Print CurrentDrive$()
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  



      If you cut and pasted this example into the IDE, it would output the current active drive as something like this.

  
C:
  

 
Related Info: CD | CurrentDir$ | DriveExist | FileExist | FolderExist :
 


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