batch-file Batch and JSCript hybrids

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

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.



Got any batch-file Question?