r/visualbasic • • Jan 02 '26

Help with opening vbs files

I feel like I'm losing my mind but I should be able to just create a vbs file by putting the code into notepad and saving as .vbs right? Its been a while since I've done it so maybe I'm missing a step but it doesn't seem to be working for me. I have "Show file types" enabled and the file does show ".vbs" at the end of it but still has the Notepad icon. I have VBSscript enabled also. This is a new PC so I think maybe something just isn't installed or enabled yet but I cant figure out what

Update: turns out it’s not just my machine that’s having this problem. I’m thinking it’s something in our environment that is blocking vbs scripts

2 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/Curt-Bennett Jan 02 '26

File type associations are system-wide, not per file, so all VBS files will say "vbs_auto_file" until it is fixed. Changing it for one will change it for all.

The exact error message is important. We need better than just "or something" to be able to help.