Changing the Default ACTION when double clicking on a file

G

Guest

In prior versions of Windows, you could change the default action performed
when double clicking on a file.

Example - when double clicking a .reg or .vbs file, I want to edit it NOT
run it.

Where is this functionality in Vista Ultimate?
 
D

Dave

When I right-click a .reg file, there's an Edit option.

Or, right-click the file,
select Open With - Choose Default Program
 
G

Guest

Sorry Dave, you are close, but that only sets the default, it does not allow
one to change the ACTION taken when the program is double clicked.
 
A

Andre Da Costa[ActiveWin]

How did you do it in previous versions of Windows that supported it?
 
G

Guest

In Windows XP Professional (and most others)

Open Windows Explorer
Select Tools | Options
Select the File Types tab
Select the File extention you want to modify
Select the Advanced Button near the bottom
 
A

Andre Da Costa[ActiveWin]

As far as I can tell, most of this functionality has been replaced either by
Default Programs and AutoPlay options. Maybe I am just missing something.
 
R

Ramesh, MS-MVP

Randy.

The "Open With" option should work. In the "Open With" dialog choose your editor (Notepad?). Ensure that the checkmark "Always use the selected program..." is ticked, and click OK.

Double-clicking a .REG file should open your editor. You'll also note that the "Merge" action is replaced by "Open" in the context menu.

The above change applies to your user account only. You have to repeat the same in all other user accounts if you want.

Another option:

See:

Change Default Action of REG Files to “Edit.â€
http://www.aumha.org/regfiles.php

The editreg.reg in the above link, when merged, sets the (default) value and set it to "edit" in the following registry key:

[HKEY_CLASSES_ROOT\regfile\shell]

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Sorry Dave, you are close, but that only sets the default, it does not allow
one to change the ACTION taken when the program is double clicked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top