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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store