1.

Solve : File association 'cannot find file' problem?

Answer»

Hi

Not really a problem but if you have some TIME perhaps you wouldn't mind helping me out...

After years of using XP, I've just discovered that I can add custom commands to the context menu (right click) for file types by using tools > folder options > file types > advanced > add.

But for some reason, some applications will give me a 'cannot find file' or words to that effect when I try to open the file with the newly ADDED entry in the context menu, even though if I open the same file with the same application by selecting properties > open with (the normal way) it opens fine.

I think it's to do with the application as I have got it working with audio files whereby I added a 'convert' entry which when selected, opens the file in a wave edit application ready for converting. I'm now trying to do the same with video & graphic files. I have searched through the applications options (ie VirtualDubMod) & found no reference to file association or context menus.

Any ideas?I've been looking in the registry to see if I can do it that way but I'm STUCK again:

I managed to add an entry in the context menu of all image files by finding HKEY_CLASSES_ROOT\SystemFileAssociations > image & then adding the KEY so it looks like this:



This does add * MY CONTEXT MENU ENTRY * in the context menu for graphic images & does open the application when I click on the entry, but it doesn't open the file - just the application ( so close aswell!)

I see that the other shell entry commands for other files are 'expandable string entries' (REG_EXPAND_SZ) but when I try to add an expandable string entry to my COMMAND, it's an additional entry to the default entry (which I cannot remove). I also tried renaming the new expandable entry to default then deleting the old default entry but no go.

I've been searching everywhere for a solution & can't seem to find one...SOLVED!!!

Just add "%1" to the end of the path so it reads:

"C:\Program Files\Program name.exe" "%1"

Thanks to 'DaBoss' (FILExt forum) for solution





Discussion

No Comment Found