0
votes

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?

1
Have you installed and enabled WindowsScriptingHost? - Reporter
Windows Scripting Host is installed by default with Windows XP. You'd have to have either manually removed it, or used a custom installer CD. If you have the know-how to do that, you'd know how to get it back. - Cody Gray

1 Answers

2
votes

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.