Home
Products
Community
Manuals
Contact
Login or Signup

BlitzPlus Docs -> 2D - Category -> File -> CurrentDir

CurrentDir$()

Parameters:

None.

Description:

This command will return the currently selected directory for disk operations, useful for advanced file operations. Use CHANGEDIR to change the current directory. The value returned doesn't have a trailing slash - aside from the root directory of the drive.

Example:

; CurrentDir$() example

; Print the current directory until ESC key
While Not KeyHit(1)
Print CurrentDir$()
Wend 

Comments

None.

BlitzPlus Manual Forum

Blitz3D Equivalent Command