The only thing I found so far is the “maxOps.productAppID”-code which returns “max” as application, but I need to determine wether it is Max 2008, 2009 or 2010.
Didn´t succeed to fine the proper code in MAXScript-reference…
Now I try to delete a folder with white space name, e.g. “C:\a test\”.
This code works fine:
doscommand "rmdir \"C:\a test\""0 is returned, the folder is gone.
…but I have to build the commandstring via script, so this doesn´t work:
myPath = "C:\\a test\\"
myString = "rmdir" + " \\" + "\"" + myPath + "\""
doscommand myString
```161 is returned and the folder is still there...
Any ideas?
Thanks and best regards.
**Sascha**
I don't remember if that does the job or not, I remember I've had to jump through hoops to get it to work right, I've resorted to writing a bat file through script and running that instead.