hi guys,
i'm trying to create new save path for maxfile. when i get maxfilepath i would like to reduce last, maybe last two folders in path
e.g.
"D:\Test_Area\TestProject\Scenes\subfolderA\"
to
"D:\Test_Area\TestProject\Scenes\"
the idea is to take path and reduce it, and then attach new folder name at the end and create the new path.
"D:\Test_Area\TestProject\Scenes\subfolderB"
I tried to filterstring array and delete last part but dont know how again assemble content of the array into something that can be used as string for save path
can you plz help me?
Thanx,
Jan
Kstudio · 2009-10-16
Marco Brunetta · 2009-10-16
Anubis · 2009-10-10