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
gabrielkfl

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
iseeuu

 
 

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: 10
Size:  25.2 KB

Cheers!
Robert


My System SpecsSystem Spec
23 Mar 2010   #3
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

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
gabrielkfl

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
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

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, 71 views)
My System SpecsSystem Spec
26 Mar 2010   #6
gabrielkfl

Windows 7/XP
 
 

THANKS!!!!

It worked. XD
Finally...

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

64-bit Windows 10 Pro
 
 

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
Thread Forum
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
The mysterious command prompt question
Hello A while ago I was using the command prompt window but accidently press some buttons on the keyboard with my arm. I wasn't sure which button I press but all I know was I didn't hit any function keys or the enter button that executes the command. I wondering is there any possible...
General Discussion
Command Prompt
Ok so every time I try to open the command prompt using an external source (batch file, small c++ program i made to say Hi to me through the command prompt) it instantly closes. Does anyone have any idea why this is happening and if so how can I fix it? Thanks, Wave
General Discussion
Command Prompt Question (Please Help Me!)
I have a computer that is in a disasterous state. It will completely start up most of the time, only to freeze and restart within less than a minute. It then says "Operating System Not Found" upon attempting to boot. Once I see that, I have to hold the power button down to turn it off, then...
General Discussion
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
Stupid Question - Command Prompt
I believe this is the right place. =P Okay so heres the deal, I put a shortcut on my desktop for Command Prompt, I assigned it a shortcut key as well (for quicker access) now my question is, how do I make it so when I open it via double click (two left clicks) or the shortcut keys, it is...
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 17:21.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App