Tutorial by Topics: hybrids



Batch are capable of running with VBS functionality further increasing their reliability. For example, VBS can deal with decimals, spaces, and some other advanced operations that cannot be done in batch. Also is capable of working with WMI and ActiveX objects.

JScript is actually the superset of Javascript (it's 1.8.1 version - so some newer features are not available ), and they can be embedded into a batch script for extending batch script's functions. Usually, techniques of embedding are using the JScript directives (not part of the official Javascript standard) in order to separate the batch and JScript code. JScript allows you to work with Com/ActiveX objects, as well as with WMI objects in addition to the standard Javascript.


Page 1 of 1