File.setdir

From MiniScript Wiki
Revision as of 00:44, 18 January 2025 by Redspark (talk | contribs)
Jump to navigation Jump to search

The file.setdir method sets the current working directory in Mini Micro 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, cd is standard shorthand for file.setdir.