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 FULLY UPDATED Microsoft Stack Master Class!
Thursdays through December 17th
11am, 1pm, and 3pm Eastern Time
Past Sessions Available for Instant Access
John will cover topics including:
* Deploying, Managing, and Maintaining Windows * Key Features of Active Directory from Windows 2000 to Windows Server 2012 R2 PLUS Windows Server 2016 * Windows Server 2012 and 2012 R2 Hyper-V and Complementary Features * Key elements of Microsoft System Center 2012 and System Center 2012 R2 and 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 * And much more!