Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: File type Association (.exe, .jpg, ...) Add extension?

04 Nov 2009   #1
NIQ

WINDOWS 7
 
 
File type Association (.exe, .jpg, ...) Add extension?

.
javascript .js files are associtated with WordPad.exe. ...should be Notepad.exe

.js file extension is missing in the Default Programs-Associate file type....

How can I add and extension(.js) to the list of extensions and protocols?
.

My System SpecsSystem Spec
.

04 Nov 2009   #2

7600.20510 x86
 
 

It's in mine as

.js | JScript Script File | Microsoft Windows Based Script Host




Here. Try to import it or merge. Then change to your liking.


Attached Files
File Type: rar js.rar (242 Bytes, 126 views)
My System SpecsSystem Spec
04 Nov 2009   #3
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello NIQ, and welcome to Seven Forums.

In addition to Torrentg's post, the js download in the tutorial below should restore the default associations for it.

Default File Type Associations - Restore

Afterwards, you can right click on the .js file and click on Edit to open it on Notepad by default.

Hope this helps,
Shawn
My System SpecsSystem Spec
.


05 Nov 2009   #4
NIQ

WINDOWS 7
 
 

Thank you both,

Somehow after restarting, the .js showed up.
...and now I know of 2 ways(above mentioned) to resolve the issue if it is to reoccur.
Thank you.

...one point I should make.

I ran into this seemingly problem due to a really wierd behavior in Visual Studio 2008, where a .js file when clicked to be edited would show a tab but never show the code itself.

I assumed since the file association was wrong, somehow the file had been saved in an incompatible text mode.

I have now found out that the problem only arises when more than one .js file is brought into edit in a Visual Studio 2008/WIN 7 scenario?
CORRECTION: Even if a new Web App Project is created and 1 folder(includes) with one blank .js is added, it fails to show code and the environement start to misdraw the Solution Explorer pane... if I EXCLUDE the .js from the project... and (re) include it, I sometimes can get it to come up... anyhow the behavior is totally inconsistent.

Do you know of a forum like this one where I can bring up this issue?
. t.y.
My System SpecsSystem Spec
05 Nov 2009   #5
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're welcome NIQ.

I suppose that you could report this at the Microsoft Visual Studio 2008 forum pages.
My System SpecsSystem Spec
05 Nov 2009   #6
NIQ

WINDOWS 7
 
 

yes I am going to take the steps to report it...
my previous version of VS did not have this problem.

I will reinstall and run all possible updates first...
...have added a CORRECTION in above post...
t.y.
My System SpecsSystem Spec
05 Nov 2009   #7
NIQ

WINDOWS 7
 
 

.
as of 11-05-2009, this issue is resolved.

Reinstalling VS2008 and the SP1 Service pack separately,
cleared what I believe were intellisense issues,
that were due to a mismatch in software updates.
.
My System SpecsSystem Spec
05 Nov 2009   #8
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

NIQ,

I"m happy to hear that you got it sorted. Thank you for posting back with your results.
My System SpecsSystem Spec
Reply

 File type Association (.exe, .jpg, ...) Add extension?




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:56 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33