Notifications
Clear all

[Closed] exectueing external exe using maxscript

i have a program a friend of mine made and I was wondering if theres a quick way to run it using maxscript?

4 Replies

shelllaunch @“c: hefolder hefile.exe” “”

the last “” can be arguments such as a file to open or something

alright one more question im sorry i’ve been trying to research the solution with no luck.

but im also writing my own config file using maxscript. My friends program then reads that config file and changes its varibles based on that. but when i write strings to files maxscript writes the quotes as well. Is there a way to write to file the contents of a string but without the quotes showing up in my .txt file?

thank you everyone for your time

Can you post the code you are using?

i think you want to use:

myString = "some string"
 format "%
" myString to:myFile
 -- instead of:
 -- print myString to:myFile