Jump to content
nice_shoes

how to search for icons on my computer

Recommended Posts

I am running Windows10 and have tried to use file explorer to search my computer for icon files, but it is a clumsy operation and I'm not having much success. Is there an easy way to search the entire c: drive (or d: drive, or g: drive) for ALL the icons that are currently on the drive? It would be nice to be able to locate every icon that is currently on the computer, or on a thumb drive, etc.

Share this post


Link to post
Share on other sites

Open powershell

 

Get-ChildItem -Path C:\ -Include *.ico -File -Recurse -ErrorAction SilentlyContinue

Share this post


Link to post
Share on other sites

thanks scr4wl

 

I've never used powershell, but it seems to me that the command-line that you have shown would only find files of the type "*.ico". Is that correct?

 

I am looking for something that will find ALL the icons on the computer, whether they are *.ico, or *.png, or any other icon-appropriate extensions. Will the powershell command do that?

Share this post


Link to post
Share on other sites

Yes, just add a comma after the ico followed by whatever extension you want, lead by an asterisk for wildcard.

 

So if you wanted to include png you would do:

 

Get-ChildItem -Path C:\ -Include *.ico, *png -File -Recurse -ErrorAction SilentlyContinue

Share this post


Link to post
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

×