How to run msdos command in jscript?

command.SetModifier doesn't support the @functype:msdos.

I have a concatenated ImageMagicK command, it used pipe, must run in msdos.

Use Command.SetType("msdos") instead.

It works, Thank you.