nice_shoes Posted June 28, 2017 Posted June 28, 2017 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 More sharing options...
scr4wl Posted June 28, 2017 Posted June 28, 2017 Open powershell Get-ChildItem -Path C:\ -Include *.ico -File -Recurse -ErrorAction SilentlyContinue Share this post Link to post Share on other sites More sharing options...
nice_shoes Posted June 28, 2017 Posted June 28, 2017 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 More sharing options...
scr4wl Posted June 28, 2017 Posted June 28, 2017 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now