F5F Stay Refreshed Software Operating Systems Ensure that all folders display the initial picture within them.

Ensure that all folders display the initial picture within them.

Ensure that all folders display the initial picture within them.

S
sydneyyyyyy
Senior Member
396
03-07-2021, 05:58 PM
#1
Hello Is there a function, .bat file, whatever I can use to force win11 folders to ALL show the first image in the folder as the thumbnail without having to go into each and every folder myself and selecting it? I've used customizergod to make the folder icon better but its still showing random images. Thanks in advance.
S
sydneyyyyyy
03-07-2021, 05:58 PM #1

Hello Is there a function, .bat file, whatever I can use to force win11 folders to ALL show the first image in the folder as the thumbnail without having to go into each and every folder myself and selecting it? I've used customizergod to make the folder icon better but its still showing random images. Thanks in advance.

N
numblegs26
Member
197
03-09-2021, 06:31 PM
#2
The task involves creating a custom folder image. Right-click on any folder and select Properties. Go to the Customize tab, then click on Choose File... under Folder pictures to update the folder picture.
N
numblegs26
03-09-2021, 06:31 PM #2

The task involves creating a custom folder image. Right-click on any folder and select Properties. Go to the Customize tab, then click on Choose File... under Folder pictures to update the folder picture.

E
Elia1153
Member
217
03-09-2021, 08:29 PM
#3
I have personal experience with this on previous versions of Windows and even 10, noting that this feature is very unreliable in its performance and behavior. If the image is large, it might not display properly. According to @Ralston18's instructions, there seems to be a way to make an A image appear for thumbnails, but I haven't found a method to apply it across all subfolders. It could be a third-party solution.
E
Elia1153
03-09-2021, 08:29 PM #3

I have personal experience with this on previous versions of Windows and even 10, noting that this feature is very unreliable in its performance and behavior. If the image is large, it might not display properly. According to @Ralston18's instructions, there seems to be a way to make an A image appear for thumbnails, but I haven't found a method to apply it across all subfolders. It could be a third-party solution.

X
XxAlenxX
Member
118
03-09-2021, 10:25 PM
#4
That's the usual approach, but it works only on a folder-by-folder level. No matter what I do, it doesn't apply to all folders inside. It could be related to all folders being read-only, but I can't change that either—it reverts back to read-only when I exit the properties tab. When selecting an image, I just click 'Choose File' and pick the first one manually.
X
XxAlenxX
03-09-2021, 10:25 PM #4

That's the usual approach, but it works only on a folder-by-folder level. No matter what I do, it doesn't apply to all folders inside. It could be related to all folders being read-only, but I can't change that either—it reverts back to read-only when I exit the properties tab. When selecting an image, I just click 'Choose File' and pick the first one manually.

E
ERKKIN
Member
218
03-11-2021, 03:34 PM
#5
My thought is that the process could be done via a Powershell Cmdlet or Script.
Likely straightforward for just one folder but making the script recursive will require more thought and effort.
Plus a full backup of all images and also the creation of of test environment to work in. And the folders may well need to be read/write.
If you are interested in coding then take a look at Powershell.
See what you can find (I found some script) and give it all a try.
Focus on single folder and image file from within that folder. If you get it to work the expand the script to other folders.
What image format are you using? That has to be taken into account. Some of what I found was dependent on .ico format. Some script involved workarounds.
If your code or script does not work then post what you attempted and explain what worked or did not work.
Overall, I am responding as if your question is a homework assignment. Forum rules prohibit doing homework. And even though this may not be homework there is no way to know from this side of the post.
To help you get started:
https://learn.microsoft.com/en-us/p...ng...rshell-7.4
Get-ChildItem may prove useful.
More specifically:
https://stackoverflow.com/questions/7599...ry-details
Very doable I think. Just not sure how complicated or cumbersome to implement. TBD.
Work with "Gets" just to learn what you can about the folders and files. Do not do any "New", "Remove", "Set"and so forth where changes are made.
Unless you are working in an expendable test environment which can easily be deleted and re-created.
AKA "do over".
E
ERKKIN
03-11-2021, 03:34 PM #5

My thought is that the process could be done via a Powershell Cmdlet or Script.
Likely straightforward for just one folder but making the script recursive will require more thought and effort.
Plus a full backup of all images and also the creation of of test environment to work in. And the folders may well need to be read/write.
If you are interested in coding then take a look at Powershell.
See what you can find (I found some script) and give it all a try.
Focus on single folder and image file from within that folder. If you get it to work the expand the script to other folders.
What image format are you using? That has to be taken into account. Some of what I found was dependent on .ico format. Some script involved workarounds.
If your code or script does not work then post what you attempted and explain what worked or did not work.
Overall, I am responding as if your question is a homework assignment. Forum rules prohibit doing homework. And even though this may not be homework there is no way to know from this side of the post.
To help you get started:
https://learn.microsoft.com/en-us/p...ng...rshell-7.4
Get-ChildItem may prove useful.
More specifically:
https://stackoverflow.com/questions/7599...ry-details
Very doable I think. Just not sure how complicated or cumbersome to implement. TBD.
Work with "Gets" just to learn what you can about the folders and files. Do not do any "New", "Remove", "Set"and so forth where changes are made.
Unless you are working in an expendable test environment which can easily be deleted and re-created.
AKA "do over".