Windows 7 Forums


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:

Question about the Command Prompt-change_file_type_01.png

Cheers!
Robert
My System SpecsSystem Spec
23 Mar 2010   #3

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

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

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

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, 67 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

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

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

 Question about the Command Prompt problems?



Thread Tools



Similar help and support threads for: Question about the Command Prompt
Thread Forum
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


All times are GMT -5. The time now is 12:38 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

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