Define an icon for all jpg

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
denver
Posts: 23
Joined: 20 Mar 2025 08:35

Define an icon for all jpg

Post by denver »

How to define a custom file icon to match all jpg files ?

win10 22h2
Last edited by denver on 02 Apr 2025 20:00, edited 1 time in total.

Garonne
Posts: 195
Joined: 21 Apr 2015 19:10
Location: Win11, 100% Scaling
Contact:

Re: Define an icon for all jpg

Post by Garonne »

Short answer:
Tools -> Custom File Icons...


Slightly longer answer:
Call the above mentioned menu item (or type ::#605 into the adress bar) to call up the "Custom File Icon" Window.

Choose "New" and add:

Code: Select all

jpg>[full adress to ico file or any other possible ico source]

denver
Posts: 23
Joined: 20 Mar 2025 08:35

Re: Define an icon for all jpg

Post by denver »

Defined it as you said but it's not working

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Define an icon for all jpg

Post by highend »

Then show the definition you’ve used?
One of my scripts helped you out? Please donate via Paypal

denver
Posts: 23
Joined: 20 Mar 2025 08:35

Re: Define an icon for all jpg

Post by denver »

jpg>[D:\sync\exe\gen icons\star-01.ico]

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Define an icon for all jpg

Post by highend »

Remove the square brackets^^
One of my scripts helped you out? Please donate via Paypal

denver
Posts: 23
Joined: 20 Mar 2025 08:35

Re: Define an icon for all jpg

Post by denver »

then It's applying a wrong icon which I don't even have,many thx for help

denver
Posts: 23
Joined: 20 Mar 2025 08:35

Re: Define an icon for all jpg

Post by denver »

Edit:

I observed that whatever app is used for ico file in Default apps>choose default apps by file type, that app's icon is getting applied

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Define an icon for all jpg

Post by jupe »

Reset your ico filetype association in Windows Settings to default.

denver
Posts: 23
Joined: 20 Mar 2025 08:35

Re: Define an icon for all jpg

Post by denver »

there is no option to reset to the default,what app should I select for ico file type in settings

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Define an icon for all jpg

Post by jupe »

Paint

denver
Posts: 23
Joined: 20 Mar 2025 08:35

Re: Define an icon for all jpg

Post by denver »

I even tried that still it's the same.

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Define an icon for all jpg

Post by jupe »

Make sure to undo your previous CFA CFI entry.

denver
Posts: 23
Joined: 20 Mar 2025 08:35

Re: Define an icon for all jpg

Post by denver »

To make this work I didn't used the CFA but used CFI,what do you mean by undo,what should I do in the CFI setting

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Define an icon for all jpg

Post by jupe »

Whoops I meant CFI, either uncheck your entry to get back to default behavior or change it without the brackets so it is like this:

jpg>D:\sync\exe\gen icons\star-01.ico

Make sure you try restarting XY if you still see the wrong icon since you reset file assoc.

Post Reply