THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/12/2009 at 11:18, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.603
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
---------
Ive made a script that writes out a batch file but it doesnt like to write the quotation marks I need for windows to execute the file properly.
Where have I gone wrong?
var filename = GeGetStartupPath();
filename->AddLast("C4D2UVL.bat");
var file = new(BaseFile);
file->Open(filename, GE_WRITE);
file->WriteString("CALL" + " C:\\Program Files\\headus\\uvlayout.exe" + " -plugin" + " C:/Temp/Temp.obj");
file->Close();
I need the text in the batch file to read:
CALL "C:\Program Files\headus\uvlayout.exe" -plugin C:/Temp/Temp.obj
Thanks for the help.