Create new folder with same name projects


#1

Hello. i know this you did this problem for other peoples but i did not do.

i want to a script for my problem.

i want to create a folder for render outputs. For example my projects name animtest01.max. And i want to create a folder in my local disk : D:Render/animtest01/char

i want to do this quickly with a button. Because i have alot of scenes for my projects. Thanks…


#2
if maxfilename != "" do makeDir (@"D:\Render\" + (getfilenamefile maxfilename) + @"\char") all:on

select this line in the listener and drag/drop on the any toolbar you want. it will make a macro button for you. you can change its appearance later the way you like


#3

Oooooo thank you very very much. i did it but i will ask this. i created “D:Render/animtest01/char” but can i do this “D:Render/animtest01_char” ???


#4
if maxfilename != "" do makeDir (@"D:\Render\" + (getfilenamefile maxfilename) + "_char") all:on

#5

Thanks for your help denisT :slight_smile: