Difference between revisions of "File.setdir"
Jump to navigation
Jump to search
(Created page with "The <c>file.setdir</c> method sets the current working directory in Mini Micro or command-line MiniScript. In Mini Micro, <c>cd</c> is standard shorthand...") |
|||
Line 1: | Line 1: | ||
The <c>[[file]].setdir</c> method sets the current working directory in [[Mini Micro]] or [[command-line MiniScript]]. | The <c>[[file]].setdir</c> method sets the current working directory in [[Mini Micro]] or [[command-line MiniScript]]. | ||
+ | |||
+ | === Arguments === | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! 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]], <c>[[cd]]</c> is standard shorthand for <c>[[file]].setdir</c>. | In [[Mini Micro]], <c>[[cd]]</c> is standard shorthand for <c>[[file]].setdir</c>. |
Revision as of 00:44, 18 January 2025
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
.