How to run a VBS scriptfile

  • Thread starter Thread starter Alex Keel
  • Start date Start date
A

Alex Keel

I need to run a 'VBS' file, but when I double click on it opens in Notepad. I
suppose it has to do with the file association, but I'm lost on this.
 
One thing to try is a command line attempt

wscript *.VBS

or

cscript *.VBS

If these work, the file association for vbs is changed to notepad (run
'control folders' and see the filetypes tab)

If those fail, you may have a Policy or registry setting that is preventing
scripts from running.



--
Use the "Ratings" feature. It helps the new users.
Need more Answers? Try the new Microsoft Answers pages.
http://answers.microsoft.com/en-us/windows/dd228912.aspx
Mark L. Ferguson MS-MVP
https://mvp.support.microsoft.com/profile/Mark.Ferguson
 
Back
Top