File.setdir

From MiniScript Wiki
Jump to navigation Jump to search

The file.setdir method sets the current working directory in Mini Micro, Farmtronics, or command-line MiniScript.

Arguments

Parameter Name Type Default Value Meaning
path string the relative or absolute location of the folder to set as the working directory

In Mini Micro and Farmtronics, cd is standard shorthand for file.setdir. Note that you still need quotation marks around the path.