What is the syntax to change the current directory?

ChDir (<directory path>)
'examples - changes current directory to Desktop folder
ChDir "C:\UserA\Desktop"

 

 

Advertisements

What is the syntax to create a folder [new]

MkDir ("<filepath here>")
'example
'creates a folder called "newfolder" in the current Documents folder
MkDir ("C:\Users\Portia\Documents\newfolder")

To determine the filepath of a folder, click here.