Jump to content

Recommended Posts

Posted

Is it possible to apply a custom icon to a folder created during RunOnceEx??

cleanup.cmd:

mkdir "%userprofile%\My Documents\My Downloads"
mkdir "%userprofile%\My Documents\My Documents"
mkdir "%userprofile%\My Documents\My Videos"

I want to be able to apply a custom icon (in shell32.dll) to the "My Documents" and "My Downloads" folders.


Posted

It handles "My Pictures", "My Music" and "My Videos" fine. It's new folders like "My Downloads" that I want to set an icon to.

Posted

Here's what I have:

Folder = C:\My Downloads

The folder contains a file called "desktop.ini", whose contents are (plain-text):

[.ShellClassInfo]
ConfirmFileOp=0
IconFile=C:\Program Files\ReGetDx\regetdx.exe
IconIndex=-3049
InfoTip=Files downloaded from the Internet
HTMLInfoTipFile=comment.htt

Note that this is possible manually only if you right-click and do a "Customize this folder" from properties - but even then, the customization is very limited - the best option is to automatically place a few desktop.ini files in the required folders.

I hope this is of help to you - do post back on whether it works for you or not.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...