About EasyMorph Tutorials & Examples Web-help

File Command - Create folder --> Parent folder - allow relative path?

Hello,

Is there a way to make the parent folder of the folder to create, relative to the location where the project is saved?

image

I tried leaving “Parent folder” empty but there was an error, and introducing “” creates the folder in the root of the computer.

I would like to create a folder in the same folder where this .morph project is located, but without having to indicate the whole path, so a relative path. Is this possible in some way?

Thanks!

Roberto

Use the dot for the current folder.

.

For the folder one level up, use two dots.

..

Alternatively, calculate the current project folder in a calculated parameter using the system() function, e.g.

system('projectdir')
To learn more about EasyMorph visit easymorph.com.