How to Open JS

By Fred Larrey

A file ending with the extension ".js" can be one of two things: a JavaScript document or a Microsoft JScript document. Since both programming languages have the same extension, Windows will get confused if you try to double-click the file; Windows will try to run the script, thinking it's a JScript document. You can get around this irritation easily.

Step 1

Open "My Computer" by double-clicking the link on your desktop.

Step 2

Navigate to the directory that contains the JS file.

Step 3

Right-click the file and select "Open With" and "Notepad." This will open Notepad with your JS file loaded. Since JS files are always written in plain text, Notepad is a suitable editor for the file. When you're finished editing, go to "File" and "Save" to save the file.