Notifications
Clear all

[Closed] Launch Max via commandline, when max root may be unkown

I’d like to reliably launch 3dsmax via command line on any users machine in our studio

simply typing “3dsmax.exe” at the comand prompt will work
but only if the max root directory is part of the windows PATH variable.
annoyingly, 3ds max does not set this on install.

I’ve tried a few ways to set the PATH but none seem permanent

Is there a way to reliably launch 3dsmax via commandline, when the max root directory is not gauranteed to be known?

2 Replies

Actually a system variable is created on install. ADSK_3DSMAX_X64_[VERS] has the path.

To output the paths run the following from a cmd prompt:

set ADSK

The following will return the 2015 path in a cmd prompt:

"%ADSK_3DSMAX_X64_2015%"

-Eric

my ADSK variable looks badly garbled (tons of paths, none to the max root)
Is there a way to correct it?

[edit] never mind, I just used windows horrid Environment Variable interface…