Notifications
Clear all

[Closed] How to open a folder in maxscript

I was trying to find in the help of maxscipt the way of open a file with windows explorer.
searching for it on the help

i serach in
3ds Max File Loading and Saving

and

External File Methods

but a i got is get files…

is a simple way to open a window true explorer by maxscript.

Sorry for the question but i been seraxching for a while without any good result.

5 Replies

Check the “Standard Open and Save File Dialogs” Section of the Maxscript Help.

-Eric

This will open an explorer window

doscommand "explorer"

and this opens one directed at my max 9 root directory

doscommand "explorer \"c:\\Program Files\\Autodesk\\3ds Max 9\\\""

edit:Sorry, maybe I misunderstood the post

shellLaunch “explorer.exe” “c:\ emp\somefolder”

will open Windows Explorer at C:\Temp\SomeFolder (if it exists).

I guess what he needs all depends on what he is trying to do with the dialog.

-Eric

thanks bobo that what i was looking exactly for.

Pixel_monkey:
i used
getOpenFileName and getSaveFileName in other part of the script for save ini files .

But I just want ti to open a folder where previously i have created skin files and ini files.Sometimes i need to edit the ini files or check if all skin envelopes are been save properly.
It,s easier if I can open the folder automactly instead to have to go out of max and look for the folder.

thanks for al th quick reply , i will keep working.