DosCommand help

DosCommand help

Anonymous
Not applicable
452 Views
2 Replies
Message 1 of 3

DosCommand help

Anonymous
Not applicable
Trying to remove a directory I made inside max.
Not sure why its not removing it. I've tried something similar outside of max and it worked.


doscommand "rmDir C:/Program Files/Autodesk/3ds Max 2012/Scripts/MyTools /s /q"
0 Likes
453 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
that s'd works --
doscommand "rmDir \"C:\\Program Files\\Autodesk\\3ds Max 2012\\Scripts\\MyTools\\\" /s /q"
(forum display it on 2 but its a 1 line of code)
0 Likes
Message 3 of 3

Anonymous
Not applicable
Yes just after I posted this I figured out I was missing the extra slash to tell the dos prompt the entire string


(
DOSCommand "rmdir \"C:\Program Files\Autodesk\3ds Max 2012\Scripts\MyTools\" /s /q"
)


Thanks
0 Likes