Dodle Posted February 8, 2009 Report Share Posted February 8, 2009 Hello, I want to create a batch file that will change the icon of an associated file type. I have already figured out how to change file associations using ftype, but cannot find any information on changing the icons for a type. Here's a rough example of the layout of what I think the batch file might look like:chgicon 7-Zip.7z %ProgramFiles%\7-Zip\7z.dll,0Anyone think they can give me some help with this. Again, I haven't been able to find any info googling. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Hb_Kai Posted February 8, 2009 Report Share Posted February 8, 2009 Do you not have to point the batch file to the icon dll. I don't know where this is but it should be something like..." %SystemRoot%\system32\SHELL32.dll "Are you sure the CHGICON command is right too? I've never seen it. Quote Link to comment Share on other sites More sharing options...
Dodle Posted February 8, 2009 Author Report Share Posted February 8, 2009 No I'm not sure. I don't know what command to use so I was just making something up to fill the spot. As far as the icon goes, I'm pointing to an icon dll located in 7-zip's directory. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.