View Full Version : 3dsmax \express directory

12 December 2008, 05:18 PM
I'm buildling .mzp packages at the mo, and one of my tools prints the current directory to the listener. It appears that when you drag a .mzp file onto the viewport, it runs in that directory.

Can anyone shed any more light?


12 December 2008, 06:34 PM
by 'current directory' are you referring to sysInfo.currentDir?

I tried a .ms file, a .mzp file of that same .ms file, a .mzp file a file that ran the .ms file.. they all give me the same result - the folder I last accessed (to load a max file). Might something else have opened the %max%\express\ folder? If in doubt, try SysInternals' Filemon?

fwiw - I don't even have that folder in Max 9/2008/2009... 7/8 seem to have it... no particular info on in it / on it.

12 December 2008, 07:15 PM
Hi Richard,
Quick of the mark as usual ;)

Yes, I mean sysinfo.currentDir.

And the directory is the "project" branch of max's filesystem, ie what would be C:\Users\<User Name>\Documents\3dsmax\express for most users.

And I'm using max 2009 64 bit right now; yet to test in 3dsmax 9.

12 December 2008, 08:07 PM
ogh... I'm hating all these different folders... I know it's more appropriate, and Vista is definitely forcing hands, but... sheesh.

Anyway - confirmed the folder existing -there- not sure why it's there for an ephemeral drag&drop.. I would have expected it to be in the appdata one... or appdata temp for that matter.

Doesn't get you any closer to knowing what that 'express' folder is, though.. or why your script seems to report the currentdir being that :)

12 December 2008, 09:23 PM
You can tell it what folder to use as the temp directory to unpack it in. I usually set this to the default Max temp directory or to a custom one if unpacking to net work installs. This is all out lined in the help but you need to do a seach for MZP. You are looking for extract to and this will need to be placed in the file.

12 December 2008, 12:15 AM
Thanks Paul,
I'll go through the help again, and will check it all out more thoroughly.
.mzping is a new area for me!

12 December 2008, 01:41 AM
Extract to is indeed a must - I wouldn't extract to temp, however, if your scripts need to use any files extracted... reason is that temp can get cleared during max operation.. making the files go missing.

However, I'm not sure if that's related to the sysinfo.currentdir at all.. in my tests I extracted to temp, but sysinfo.currentdir remained "c:\3dsmax2009_scenes\_contest\etc\"

maybe my test script was incorrect, though..

-- script ""
messagebox sysinfo.currentdir

-- file
name "t"
description "t"
version 1.0
extract to $temp

run ""

CGTalk Moderation
12 December 2008, 01:41 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.