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: Question about the Command Prompt

23 Mar 2010   #1

Windows 7/XP
 
 
Question about the Command Prompt

I wasn't sure on where to post this, so I'm posting here. Mods, please move this to the right section.

I accidentally set a file format (.jar) to be opened always with the command prompt, now I cannot change it back (the checkbox for "always open with" is disabled).

What I wanted was to leave the prompt in the Open With tab when I right click the file, but it still won't show up there, and I cannot change my .jar back to "Open with javaw.exe".

Is there any place in the Control Panel where I can change this back?

My System SpecsSystem Spec
.

23 Mar 2010   #2

 
 

Quote   Quote: Originally Posted by gabrielkfl View Post
I wasn't sure on where to post this, so I'm posting here. Mods, please move this to the right section.

I accidentally set a file format (.jar) to be opened always with the command prompt, now I cannot change it back (the checkbox for "always open with" is disabled).

What I wanted was to leave the prompt in the Open With tab when I right click the file, but it still won't show up there, and I cannot change my .jar back to "Open with javaw.exe".

Is there any place in the Control Panel where I can change this back?
Hello gabrielkfl, and welcome to Windows Seven Forums.

The quickest way I found to do this is to type file in the start search box and select the appropriate link:

Name:  change_file_type_01.png
Views: 9
Size:  25.2 KB

Cheers!
Robert


My System SpecsSystem Spec
23 Mar 2010   #3
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Gabriel,

You might see if you can set the JAR file extension to open with the javaw.exe program you wanted instead in Default Programs. If that does not work, then reinstalling the program should also restore it as the default program.

Default Programs - Associate a File Type or Protocol

Hope this helps,
Shawn
My System SpecsSystem Spec
.


23 Mar 2010   #4

Windows 7/XP
 
 

Thanks for the help, but the Default Programs thing (which was the suggestion from both of you) works fine for other programs, but it still cannot rollback the .jar opening with the Command Prompt.

Now, this reinstalling thing might work. I'm pretty sure WinRAR installer suggests the .jar format, I'll try reinstalling it (If I can change it from the prompt to winrar, I might be able to change it to JRE again without uninstalling java).

EDIT: No good. Still opens with the prompt.
My System SpecsSystem Spec
23 Mar 2010   #5
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Give this REG download below a try. It should remove the default program settings set by you and leave only the default. Afterwards see if it is back to the default, or if you can change it.

This is what's in the REG file:
Code:
 
Windows Registry Editor Version 5.00
 
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jar]


Attached Files
File Type: reg Delete_JAR.reg (268 Bytes, 69 views)
My System SpecsSystem Spec
26 Mar 2010   #6

Windows 7/XP
 
 

THANKS!!!!

It worked. XD
Finally...

Thanks everyone. ^^
My System SpecsSystem Spec
26 Mar 2010   #7
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're welcome Gabriel. I'm happy to hear that you got it sorted.
My System SpecsSystem Spec
Reply

 Question about the Command Prompt




Thread Tools



Similar help and support threads for2: Question about the Command Prompt
Thread Forum
Help needed executing command prompt command General Discussion
command prompt General Discussion
Run administrative command prompt from command prompt General Discussion
The mysterious command prompt question General Discussion
Command Prompt Question (Please Help Me!) General Discussion
Command Prompt command <ipconfig> not working Network & Sharing
Stupid Question - Command Prompt General Discussion

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 09:21 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