How to use dos command in jscript?

I want to run dos command in JScript. But scripting objects has opus command only.How do I use the dos command in JScript?Does opus have built-in objects?
Can I only use it this way?like this

var cmd = new ActiveXObject("WScript.Shell");"cmd.exe xxxx");

How do I use the dos command in JScript?

Via SetType.!Documents/Scripting/Command.htm

Does opus have built-in objects?


1 Like

thanks,I'm too careless.