View Full Version : Forcing JScript in a script?

12-04-2007, 11:00 PM
I was curious if there is a way (or a need) to set a session of XSIBatch to use JScripts instead of VBScript. For the XSI client I can just set it manually but on a remote machine with no interface I don't have this option. I haven't seen any Flags to pass the xsibatch.exe for this toggle.

So does it auto detect the script format?

We have some remote machine that might be doing some work and I was curious if there was some fancy way of detecting what mode the system was in and set it to JScript if it's not already in JScript mode.

12-04-2007, 11:07 PM
If the script file extension is .js, XSI will assume it's JScript by default. Otherwise, you can set the language explicitly with the "-lang JScript" switch.

12-05-2007, 01:56 AM
Awesome, thanks.

CGTalk Moderation
12-05-2007, 01:56 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.