When calling functions that read or write files without specifying the path, MAXScript seems to use some sort of current directory. How can I specify it myself?
The sysinfo.currentdir
global variable shows the current directory where MAXScript will look for files when no explicit path is specified.
Because this variable can not only be read but also set, you can specify a current directory by assigning to the sysinfo.currentdir
global variable.
See System Information for more details and examples.