It is now in the > Mega ScriptsPack <
The new version depends on other scripts also contained in this package.
While tags are fine, but xy-only I needed a way to tag folders system-wide.
My solution are custom-folder-icons, with relative paths in "desktop.ini"-files this works also on network-share if the icon is also on the share.
I use custom-folder-icons for example to distinguish DVDs from 1080p-movies on my net-share. (I don't like to put these informations in the folder-name)
(Another nice place to use this is the "Programme"-folder, i put special icons for opensource-software and other types there )
This is a small script to give a folder a custom icon, I load it from the catalog and get a nice menu:
Code: Select all
"HD 1080p"
$path = <curitem>;
call writefile($path.'\desktop.ini', <<<EOF
[.ShellClassInfo]
IconFile=..\..\.icons\HD 1080p.ico
IconIndex=0
EOF
);
run 'attrib +h desktop.ini', $path; //feel free to use system-attribute here for hiding
run 'attrib +r "'.$path.'"';
"DVD"
$path = <curitem>;
call writefile($path.'\desktop.ini', <<<EOF
[.ShellClassInfo]
IconFile=..\..\.icons\DVD.ico
IconIndex=0
EOF
);
run 'attrib +h desktop.ini', $path;
run 'attrib +r "'.$path.'"';
(it's maybe not perfect, but works fine for me, and I simply wanted to share it with you folks)