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:
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();
var file = new(BaseFile);
file->WriteString("CALL" + " C:\\Program Files\\headus\\uvlayout.exe" + " -plugin" + " C:/Temp/Temp.obj");
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.
On 08/12/2009 at 12:13, xxxxxxxx wrote:
For certain characters you need an escape character to distinguish from the character being used in context (the script code itself) - just like you did with the '\'.
file->WriteString("CALL \"C:\\Program Files\\headus\\uvlayout.exe\" -plugin C:/Temp/Temp.obj");
On 08/12/2009 at 13:00, xxxxxxxx wrote:
TY very much