cscript / wscript
CautionRun VBScript hosts
cscript //nologo <script.vbs>
Runs legacy VBScript/JScript: cscript to console, wscript with dialogs — for maintaining old automation.
Examples
cscript //nologo inventory.vbs > result.txtCapture script output
Syntax
cscript [//nologo] <script> / wscript <script>
Before you run it
Never run untrusted scripts.
Related commands
- cmdcmd basics and operators
- Set-ExecutionPolicyScript execution policy
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store