Notifications
Clear all

[Closed] HiddenDOSCommand max2009 bug?

Hi!

i tried to use HiddenDOSCommand which comes with 3dsmax2009
however at ANY command i tried it returned an error

exemple:
–valid batch…
HiddenDOSCommand “c:/testdata/build.bat”
returned:
– Error! CreateProcess(cmd /e:on /d /c “c:/testdata/build.bat”) failed!
false

i tried with the handbuilded version i downloaded here :
http://www.maxplugins.de/max2009_32.php?search=&sort=Author
and its working fine…

i don’t know if its a known problem…
thanks

2 Replies

HiddenDOSCommand is fussy in my experience. You often need to use the “startPath” argument to make it go, even if the operation itself doesn’t care. Try this:

HiddenDOSCommand “c:/testdata/build.bat” startPath:“c:/”

Should do the trick.

I had the exact same issue with max2009 just yesterday. I also found it’s behavior rather dodgy. Most of the examples in the helpfile didn’t even work…
But as pointed out, using the startpath seemed to solve most issues.