Home
Products
Community
Manuals
Contact
Login or Signup

BlitzPlus Docs -> 2D - A-Z -> C -> ChangeDir

ChangeDir directory/path

Parameters:

directory/path = full path to directory/folder

Description:

This command will change the currently selected directory for disk operations, useful for advanced file operations. Use CURRENTDIR$() to see what the current directory is.
Use a directory/path of ".." to change to the parent of the current directory, unless you are at the root directory of the drive, then no change happens.

Example:

; ChangeDir example

ChangeDir "c:winntsystem32"
Print "The folder has been changed to: " + currentdir$() 

Comments

None.

BlitzPlus Manual Forum

Blitz3D Equivalent Command