A Conversation for How to Avoid Computer Viruses
Prevent VBS and SHS filese _ever_ running
Is mise Duncan Started conversation Jul 4, 2000
In Windows NT (and probably 98?) you can use the "assoc" command to say which executable is launched to run files with a given suffix.
By default, .shs and .vbs files are associated to the command interpreter which is why they run the code when you double-click them.
if you use the comand:
assoc .shs=txtfile
and
assoc .vbs=txtfile
Then, when you open the attachment, it will open it as a harmless text file rather than a potentially harmful script file.
Prevent VBS and SHS filese _ever_ running
Kes Posted Jul 5, 2000
That sounds very useful.
To what file should I add these commands?
Prevent VBS and SHS filese _ever_ running
Is mise Duncan Posted Jul 5, 2000
Noe - just run them from the console window (what used to be called the command prompt or dos box, when I was young )
Prevent VBS and SHS filese _ever_ running
Cheerful Dragon Posted Jul 5, 2000
It sounds like the sort of thing you should be able to do something about in the registry. However, I couldn't find where you should change it on a brief hunt just now, so using the DOS prompt is probably the best way.
Prevent VBS and SHS filese _ever_ running
Is mise Duncan Posted Jul 5, 2000
\HKEY_CLASSES_ROOT\.vbs [default]="txtfile"
but I tend to discourage editing of the registry if there is _any_ alternative.
Key: Complain about this post
Prevent VBS and SHS filese _ever_ running
More Conversations for How to Avoid Computer Viruses
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."