Icon associated with file extension not shown for files

  • Thread starter Thread starter Karthik.R
  • Start date Start date
K

Karthik.R

Hi Techies,

I tried to associatie a custom icon for an extension as this

HKCU\Software\Classses\.tes

(Default) teststart


HKCU\Software\Classes\teststart
DefaultIcon

(Default) c:\InstallTest\test.ico, 0
Open
New
Shell
Command

(Default) "c:\InstallTest\teststart.exe" "%1"


I can able to get the file created with ".tes" extension open with
"teststart.exe" but could not see the icon associated with it. When i open
Tools -> Folder Options ->File Types I can see the associated icon for the
extension. Why is this not shown for all files created with my extension?
Should I need to restart the machine for getting this icon?

Regards,
Karthik.
 
In said:
Hi Techies,

I tried to associatie a custom icon for an extension as this

HKCU\Software\Classses\.tes

(Default) teststart


HKCU\Software\Classes\teststart
DefaultIcon

(Default) c:\InstallTest\test.ico, 0

If this is a single icon file just use
c:\InstallTest\test.ico
(and BTW no space in there after ",")
Open
New
Shell
Command

(Default) "c:\InstallTest\teststart.exe" "%1"


I can able to get the file created with ".tes" extension open
with "teststart.exe" but could not see the icon associated with
it. When i open Tools -> Folder Options ->File Types I can see
the associated icon for the extension. Why is this not shown for
all files created with my extension? Should I need to restart
the machine for getting this icon?

Restart explorer shell or restart the OS.
Also possibly delete the ShellIconCache if .tes was previously
associated and other methods don't help.
 
Hi.

Thanks a lot for the tips...Removing the arg 0 addded to
"c:\InstallTest\test.ico, 0" helped.

Regards,
Karthik.
 
Back
Top