Jump to content
Tuts 4 You

Registry Editing


ante0

Recommended Posts

Hi, anyone here good when it comes to Regedit?

I'm trying to add a program I made to open Gif Images by default.

well, I'm going to add a menu to rightclick, but it doesn't want to display -.-

HKEY_CLASSES_ROOT\giffile\shell\Gif Viewer\command

@="D:\Programs\GifViewer\GifViewer.exe""%1"

That should add a menu, but it doesn't...

Is there any limit on menus in rightclick?

Cause Photoshop adds a few too, so thought that might overwrite it...

Well, if anyone has any ideas, lmk :D

Link to comment
Share on other sites

Maybe you could go the simple way ?

Check out the folder options > file types

It lists all extensions and you can define

for (nearly) everyone, which app opens it

by default...

Link to comment
Share on other sites

Maybe you could go the simple way ?

Check out the folder options > file types

It lists all extensions and you can define

for (nearly) everyone, which app opens it

by default...

You could do that yes. lol

Why didn't I think of that...

Well, the thing is, I want to make a reg change from my program, so it associates .Gif to my program by clickin a button inside "Gif Viewer".

I even removed the old Open in giffile, but photoshop still opens it -.-

Link to comment
Share on other sites

HKEY_CLASSES_ROOT\giffile\shell\Gif Viewer\command
@="D:\Programs\GifViewer\GifViewer.exe""%1"

Did u also try like this ?

HKEY_CLASSES_ROOT\giffile\shell\open\command
@="D:\Programs\GifViewer\GifViewer.exe""%1"
Edited by Ufo-Pu55y
Link to comment
Share on other sites

HKEY_CLASSES_ROOT\giffile\shell\Gif Viewer\command
@="D:\Programs\GifViewer\GifViewer.exe""%1"

Did u also try like this ?

HKEY_CLASSES_ROOT\giffile\shell\open\command
@="D:\Programs\GifViewer\GifViewer.exe""%1"

Yep, tried both. Photoshop still opens them.

+ I used File associations and added Gif viewer to shell.

But it doesn't seem to have anything to do with giffile in registry, cause no Gifviewer entry was added.

Link to comment
Share on other sites

try this

HKEY_CLASSES_ROOT\giffile\shell\Gif Viewer\command

@="D:\\Programs\\GifViewer\\GifViewer.exe""%1"

and check if path is valid

Link to comment
Share on other sites

there is usually HKLM\SOFTWARE\Classes\giffile\shell\open\command & HKCR\shell\open\command..

even search for photoshop.exe in the registry should find how it is doing it..

Edited by syk071c
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...