How to use Delete & Replace to All Folders ?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Flourgrader
Posts: 94
Joined: Fri May 28, 2021 7:55 am

How to use Delete & Replace to All Folders ?

Post by Flourgrader »

Hi All,
I have a Folder on D:\Master
Inside Master there are sub folders.
The nested folders go very deep, some are 15 deep.
Over the years I have customized the folders.
I have a icon.ico and a desktop.ini file in every single folder.
What I would like to do is replace these icons with another icon.
I want to delete every icon.ico and desktop.ini file from every folder.
And replace it with another Desktop.ini file.

[.ShellClassInfo]
IconResource=C:\Windows\ICONS_used_on_this_PC\Laptop2.ico,0

This Desktop.ini file will be copied into every folder,
So that every folder looks the same inside the Master folder.
I need help in copying the new Desktop.ini file into every single folder ( 2000 folders) ?
I know how to do the deleting part.
Thank You.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: How to use Delete & Replace to All Folders ?

Post by NotNull »

One way to do it:

- In File Explorer (or Everything), right-click the desktop.ini you want to copy and select Copy
- In Everything, search for:

Code: Select all

D:\Master\   child:desktop.ini
(this will find all folders that contain a desktop.ini)
- Select all folders ('CTRL + A')
- Menu:Edit > Paste
- Done.
Flourgrader
Posts: 94
Joined: Fri May 28, 2021 7:55 am

Re: How to use Delete & Replace to All Folders ?

Post by Flourgrader »

Thank you very much, NotNull .
Your advice is much appreciated.
I will give it a go!
Post Reply