Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Bulk Change All Folder Icons in Single Folder or Folder Type

09 Jun 2011   #11

windows 7 ultimate
 
 

Excellent little script there Neutron. All my font folders now look the same (or different, according to parent folder!).

My System SpecsSystem Spec
.

26 Dec 2011   #12

Win 7 Pro x64
 
 
Need Help!

Hi! New user to the forum and used Neutron16's .bat script. Running the script changed not only the icon but also renamed all my sub-folders to the parent name. Is there any way to reverse this change? Your help would be really appreciated.

Neutron16, could you help? I have to re-discover and rename ~700 photo folders.

THANK YOU!
My System SpecsSystem Spec
26 Dec 2011   #13

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

What you have described is very unusual. This script was tested with different operation systems and with non-unicode folders too.

There is NO command in the script that would rename folders. Command Attrib change only the attributes of certain folders and command XCOPY only copy settings file.
Did you add anything to the script, did you interupted script?

Please give us your Windows version, language of your windows and please post a screenshot of those renamed folders, at least some of them. And what names they had before (like 12-12-2011 or words, latin or non-latin based)?
My System SpecsSystem Spec
.


26 Dec 2011   #14

Win 7 Pro x64
 
 
Need Help! Multiple folders with same name

Neutron16, Thanks for your quick response. I am running the US English version of 64-bit Win 7 Pro.
These are the steps I followed:

Testing
1. Created nested test folders (optimized for ‘General Items’) on desktop
2. Changed icon for Master folder
3. Copied .bat file
4. Ran it without Admin and got warning to ‘Run as Admin’
5. Ran as admin and was successful
6. Re-ran process multiple times successfully

Actual run
7. Navigated to C:\Our Documents\My Pictures
8. Changed icon on ‘My Pictures’ folder (optimized for ‘Pictures’)
9. Copied .bat file from test folders
10. Ran as admin but nothing happened
11. I right-clicked on Properties -> General tab and under security clicked ‘Unblock’
12. Ran again with no success
13. Re-ran process with test-folders successfully, though this time I had to logout for changes to take effect. Also noticed that I could not use certain ‘system’ icons.
14. To mimic exact conditions, I changed folder type from optimized for ‘Pictures’ to optimized for ‘General Items’
15. I then dragged-dropped .bat file from test folders
16. Right-clicked on Properties -> General tab and under security clicked ‘Unblock’
17. Ran it without admin and got warning to ‘Run as Admin’
18. Ran as admin and it started to work successfully. I did get a few exceptions at the start (did not keep a screen-shot, as I thought I would see the exceptions ) but it seemed to run successfully.
19. I navigated over to the ‘My Pictures’ folder and saw that all folder icons and names were identical – ‘My Pictures’

I noticed that though each folder was named exactly the same, they were still in order. I right-clicked on Properties -> Sharing and noticed that the original file names were still available under ‘Network File and Folder Sharing’ and the sort was maintained against this information. My picture folder names are in the following format - mm.dd.yyyy - text - text
I have made no edits to the script – not even opened it in an editor
Thanks!!

[FONT=Tahoma]
Quote   Quote: Originally Posted by Neutron16[/FONT
;1715294]What you have described is very unusual. This script was tested with different operation systems and with non-unicode folders too.

There is NO command in the script that would rename folders. Command Attrib change only the attributes of certain folders and command XCOPY only copy settings file.
Did you add anything to the script, did you interupted script?

Please give us your Windows version, language of your windows and please post a screenshot of those renamed folders, at least some of them. And what names they had before (like 12-12-2011 or words, latin or non-latin based)?


Attached Thumbnails
Bulk Change All Folder Icons in Single Folder or Folder Type-my-pictures-folder.gif  
My System SpecsSystem Spec
27 Dec 2011   #15

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

Ok, that makes sense now. What have happened is just another proove that script does it's job with conditions I have described when I uploaded it - it copies desktop.ini file from master folder to nested folders.

What I have never thought of is that system folders usually have their aliases a.k.a "LocalizedResourceName" in desktop.ini files.

Script have never actually renamed your folders. You can verify this with third party file managers like Altap Salamander.

Download it or another files manager, navigate to your master folder and make sure that all folders have their original names. Then make search in all subfolders for desktop.ini file and delete all copies of desktop.ini in nested folders (inside master folder) except one for the master folder.

Now they should return to original state. Now, I do not recommend to apply script to "system" folders like My Pictures. If you insist I can create a custom bat file for you for free - just PM me your desktop.ini file from master folder.
My System SpecsSystem Spec
27 Dec 2011   #16

Win 7 Pro x64
 
 

THANKS Neutron16!!! That worked. I deleted all the INI files and the folders automatically reset to their original names and icons. I would be very grateful if you can write me the BAT file to convert the icons for My Pictures folder.
My System SpecsSystem Spec
27 Dec 2011   #17

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

subirs, please delete your email from the post above.

I have created another version of my script. I does the same thing, except it copies desktop.ini file from predefined folder.

You need to create this folder first
C:\custom_icon\
and apply your icon to it. Then put the script in your master folder (My pictures or whatever) and start it.
DO NOT PUT ANYTHING IN C:\custom_icon\
this is a temporary folder, just to copy icon from. You can delete it once script will finish it's job.

Basically, in this case script will copy icon not from master folder but from C:\custom_icon\


Attached Files
File Type: bat mass_icon_changer_custom_.bat (1.7 KB, 745 views)
My System SpecsSystem Spec
27 Dec 2011   #18

Win 7 Pro x64
 
 

Neutron16, Thank you Very, VERY much! I am extremely grateful for you taking time out of your day to help me out. I really do appreciate it!! You saved me quite a few hours of rework.

Thank you!!
My System SpecsSystem Spec
28 Jan 2012   #19

Windows 7 Home Premium 32bit
 
 
Thanks!

Wonderful Script! Thanks a lot for sharing it, Neutron16.
My System SpecsSystem Spec
03 Feb 2012   #20

Windows 7 Ultimate x64
 
 

Neutron16,
You Da Man!
Script is awesome. So far it's the quickest search I've done and found a solution to when it comes to MS.
Simple, easy, just how all solutions should be. Thanks again for sharing a great resource with us all
My System SpecsSystem Spec
Reply

 Bulk Change All Folder Icons in Single Folder or Folder Type




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:26 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33