How to Get Your Computer to Read Script Files
There is a whole world of script files that most people do not use or deal with on a daily basis. Most computer users don’t even know how to use a script file. You will want to learn about script files. They can actually make your computer work easier. So, where should you begin? Here is how to get your computer to read script files.
On a Windows operating system, click the green start button in the lower left hand corner.
Click on All Programs.
Click on Accessories.
Click on Command Prompt.
Now you have a black window with a flashing prompt.
Open Notepad.
Type a specific script with a .vbs extension, such as astest.vbs.
Save the Notepad document. Note: In order to keep Notepad from saving your script as a txt file you will need to surround your script with quotation marks. For example: you would save the document as “astest.vbs.”
On the command prompt window, type in the file location where you saved your notepad document. For instance, you will want a c: flashing if you saved the notepad document on the C drive.
Now type in cscript test.vbs
Your output should say my very first script.
Now that you have completed your first script, you are on your way to writing more functional and useful scripts.