File.setdir

From MiniScript Wiki
Revision as of 14:15, 18 January 2025 by JoeStrout (talk | contribs) (included Farmtronics and note about quotes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.