Selecting items in context menu doesn't match Registry indications

R

Richard

Hi All,

I'm running WinXP/SP2, with the Ruby interpreter and SciTE text editor
installed.

If I right-click on the name of a program, say xxx.rb, in Windows
Explorer, I see see Open (in bold) and Edit items. Clicking either of
them brings up that program's text in the SciTE.

When I check the registry for HKEY_CLASSES_ROOT/.rb I see:

HKEY_CLASSES_ROOT\.rb
(Default) = rbFile
HKEY_CLASSES_ROOT\rbFile
DefaultIcon
(Default) REG_SZ K:\_Utilities\Ruby_1.8.2-15\ruby\lib\rubyw.ico,0
Shell\Edit
command
(Default) REG_SZ "K:\_Utilities\Ruby_1.8.2-15\ruby\scite\SciTE.exe"
"%1" %*
Shell\open
command
(Default) REG_SZ "K:\_Utilities\Ruby_1.8.2-15\ruby\bin\ruby.exe"
"%1" %*

which suggests to me that the invocation should be:

open => ruby.exe
edit => SciTE.exe

Any idea why my expectation is not realized?

Thanks in advance,
Richard
 
A

Ayush

Replied to [Richard]s message :
Hi All,

I'm running WinXP/SP2, with the Ruby interpreter and SciTE text editor
installed.

If I right-click on the name of a program, say xxx.rb, in Windows
Explorer, I see see Open (in bold) and Edit items. Clicking either of
them brings up that program's text in the SciTE.
What's the default value of HKCR\rbFile\shell\open
and
HKCR\rbFile\shell\Edit
 
R

Richard

Hi Ayush,

Thanks for responding.
What's the default value of HKCR\rbFile\shell\open

HKEY_CLASSES_ROOT\rbFile\Shell\open: (Default) = (Value not set)
and HKCR\rbFile\shell\Edit

HKEY_CLASSES_ROOT\rbFile\Shell\Edit: (Default) = (Value not set)

It seems to me there's some other Registry key that preempts the use of
the keys I expected to be used. What do you think?

Best wishes,
Richard
 
A

Ayush

Replied to [Richard]s message :
Hi Ayush,

Thanks for responding.


HKEY_CLASSES_ROOT\rbFile\Shell\open: (Default) = (Value not set)


HKEY_CLASSES_ROOT\rbFile\Shell\Edit: (Default) = (Value not set)

It seems to me there's some other Registry key that preempts the use of
the keys I expected to be used. What do you think?

I dont think so.. but it's weird ..

Try going to Folder Options > File Types > .rb
Advanced > Select Edit > Set as default
Click OK > CLose

Open it again then set Open default


If that doesn't work then try deleting the Edit.
 
R

Richard

Hi Ayush,

I got side-tracked for a week or so. That's why I didn't notice your
second response until now.
Try going to Folder Options > File Types > .rb
Advanced > Select Edit > Set as default
Click OK > Close

In a Windows Explorer window, I clicked:

Tools > Folder Options ... > File Types (tab).

I selected the row:
Extensions = RB
File Types = RB File

I did not see any "Advance" button or link. The only LIVE things I see
are five buttons:
New, Change, Restore, OK and Cancel. There are two disabled buttons:
Delete and Apply.

So there's no way I can "> Advanced".

Perhaps the problem is that I'm running WinXP-Pro/SP2 with up-to-date
security updates installed and you're looking at documentation for or
running a different version of Windows.

I think you're on the right track. I'd appreciate if you could direct
me those steps on my system.

Best wishes,
Richard
 
A

Ayush

Replied to [Richard]s message :
I did not see any "Advance" button or link. The only LIVE things I see
are five buttons:
New, Change, Restore, OK and Cancel. There are two disabled buttons:
Delete and Apply.

So there's no way I can "> Advanced".

Click Restore then "Restore" will change to "Change" and new button will appear named
"Advanced"
 
R

Richard

Hi Ayush,

Thanks for your additional info. It worked great!!

Best wishes,
Richard
Replied to [Richard]s message :
I did not see any "Advance" button or link. The only LIVE things I see
are five buttons:
New, Change, Restore, OK and Cancel. There are two disabled buttons:
Delete and Apply.

So there's no way I can "> Advanced".

Click Restore then "Restore" will change to "Change" and new button will appear named
"Advanced"
 

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