Reputation: 95
I work with windows XP operation system
When I create new vbs file on my desktop as VBscript.vbs The file still defined as .txt file and not as .vbs file
From properties I see also type is a txt file
What need to do in order to fix this issue?
Upvotes: 0
Views: 297
Reputation: 181
I think that you will find that your filename is actually "filename.vbs.txt".
The file extension ".txt" was probably automatically added by your text editor.
Try cutting and pasting your code into a new file in your text editor and then use "Save As" instead of "Save".
Ensuring that you type in the full file name including the .vbs extension and select "All File Types" if you have a dropdown to select one.
Upvotes: 2