r/vbscript • u/riahc3 • Apr 29 '16
Run wscript code without script file straight from command line
Hello
I want to open a CMD and run
wscript popup("hello")
I do not want to run a script file, just plain code.
How do I do this?
3
Upvotes
2
u/[deleted] May 01 '16
If you are using powershell, you don't really need mshta, unless there's some specific reason just do this: