Re: Album Art on Folders

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The script sets all the view settings of a folder to be inherited by its subfolders. If you assign
a pic to folder while configuring the view in the script, the same pic will be assigned to the
subfolders.

If you use a desktop.ini file, it would need to contain the following lines (with the path changed for your picture, of course)

[.ShellClassInfo]
Logo=D:\Keith\Desktop\Consumers Washing Machines\Treadmills\Treadmill1.jpg

But a folder will not process a desktop.ini file unless the FOLDER's read-only or system attribute is set. You can use the 'attrib' command from a command prompt window, or use the customize option to set a folder's icon -- this will both set the read-only bit and create a desktop.ini file that you can customize to your liking.

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


"Phil" <Phil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:56F14868-0DD2-4E70-9AEF-B52C013E0DF1@xxxxxxxxxxxxxxxx
Thanks, makes a bit more sence now.

Does the script keep changes made to subfolders of the folder selected? And
can you assign pictures to folders using this script? If not how do you use
a desktop.ini file to do this?

.



Relevant Pages

  • Re: Script: Network share problems
    ... If the folder didn't exist or you did not have security ... you will need to add more error checking to your script. ... objFSO.CopyFile source, dest, OVERWRITE_EXISTING ... ' Delete all files in subfolders ...
    (microsoft.public.windowsxp.wmi)
  • Re: creating folder tree structures
    ... When I have a working script I will post ... Set fso = CreateObject ... So that ONLY "Folder 1" name is ... the rest of the subfolders are set already. ...
    (microsoft.public.scripting.vbscript)
  • Re: Customize File Views -HELP!
    ... I've written a script that will apply all the view customizations you can ... You can select a folder & configure its view settings, ... subfolders ...
    (microsoft.public.windowsxp.general)
  • Re: script to find all files in folder/subfolders
    ... what I would like the script to eventually do, is scan all files in a certain ... folder (including subfolders) and if the file has not been modified in 1 ... folder, including sub-folders but I can't get the subfolder part to work. ... Set colFiles = objWMIService.ExecQuery _ ...
    (microsoft.public.windows.server.scripting)
  • Subfolder views
    ... I am trying to make all subfolders in My Pictures the same as the main ... MVP Keith had a script to do the job, ... You can select a folder & configure its view settings, ... non-grouped view to be the default inheritance for My Computer, ...
    (microsoft.public.windowsxp.basics)