Open notepad or any other third party editor like Notepad++.

Write any VBScript code suppose

Wscript.Echo "Hello"

Wscript.Quit 0

Save the file with .vbs extension suppose hello.vbs.

You can then run that VBScript file from command prompt.


How to Write VBScript Code on Windows

Leave a Reply

Your email address will not be published. Required fields are marked *