Jump to content


Photo

how to search for icons on my computer


  • Please log in to reply
3 replies to this topic

#1 nice_shoes

nice_shoes

    Member

  • Members
  • PipPip
  • 351 posts

Posted 28 June 2017 - 08:50 AM

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.


CPU....................... Intel i5-6500
MOBO................... Asus Z170-E
RAM....................... 16 GB DDR4-2400
HARD DRIVES........ [C:] Micron C400 128GB SATA III.......[D:] Seagate 160 GB SATA (150) with 8 MB cache
PSU....................... generic 550W PSU
VIDEO CARD.......... XFX GeForce 9600 GSO...........running dual LCD monitors, 27 inch and 24 inch
OS......................... Windows 10  64-bit


#2 scr4wl

scr4wl

    R34CT1V4T3D

  • Members
  • PipPipPipPipPip
  • 2974 posts
  • Gender:Male
  • Location:New Mexico

Posted 28 June 2017 - 09:10 AM

Open powershell

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

Generic Most Awesome Sig


#3 nice_shoes

nice_shoes

    Member

  • Members
  • PipPip
  • 351 posts

Posted 28 June 2017 - 10:32 AM

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?


CPU....................... Intel i5-6500
MOBO................... Asus Z170-E
RAM....................... 16 GB DDR4-2400
HARD DRIVES........ [C:] Micron C400 128GB SATA III.......[D:] Seagate 160 GB SATA (150) with 8 MB cache
PSU....................... generic 550W PSU
VIDEO CARD.......... XFX GeForce 9600 GSO...........running dual LCD monitors, 27 inch and 24 inch
OS......................... Windows 10  64-bit


#4 scr4wl

scr4wl

    R34CT1V4T3D

  • Members
  • PipPipPipPipPip
  • 2974 posts
  • Gender:Male
  • Location:New Mexico

Posted 28 June 2017 - 11:05 AM

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

Generic Most Awesome Sig