How to set the fs object with a location

The short answer is that it’s (for now) impossible to do this. You can either let the user choose a location or use one of the pre-defined ones (e.g., getDataFolder()). For more details, please see (and maybe vote for) the feature request that’s already open regarding this topic at Get File-Entry without forcing the user to select it via File-Dialog.

1 Like