How do I run a windows script from the command line?Commented on: 3 years ago
(July 23, 2012)
You are missing the letter r here: should be csc r ipt
You would run with command
C:\> cscipt hello.vbs
Just in case someone with no background in it just uses copy and paste
John Savill's Microsoft Stack Master Class
Join John Savill for the ALL NEW Microsoft Stack Master Class!
* Key Features of Active Directory for every version of Server OS, including Windows Server 2012 R2 and Windows Server 2016 * Key elements of Microsoft System Center 2012 and System Center 2012 R2 PLUS major changes in the 2016 wave * Deploying, Migrating to, and Managing Hyper-V in Your Organization * Implementing a Private Cloud * Using PowerShell to Automate Common tasks * Key Windows 10 changes including the new Start menu, Cortana, Microsoft Edge, and more * And much more!