When you execute a file with .VBS, .JS or .WSF extensions via CScript.exe, they execute correctly:
CScript vbsProg.vbs
CScript jsProg.js
CScript wshScript.wsf
However, we may use //E:engine option to run VBS or JScript files with different extensions:
CScript //E:VBS vbsProg.txt
CScript //E:JScript jsProg.txt
Is there any way to do the same thing with a WSF file?
CScript //E:WhatGoesHere wshScript.txt
Is there any place where script engine names are documented? Is there any way to know the names of all installed engines?
Thanks!
Antonio