/RightClickFolderIconTools

Adds “Folder Icon Tools” to the Windows Explorer context menu. Automatically edits images, generates, converts, and applies images as folder icons.

Primary LanguageBatchfileMIT LicenseMIT

RCFI TOOLS

Adds "Folder Icon Tools" to your right-click menus, allowing you to easily customize folder icons with a simple right-click.

Download Code Size Repo Size GitHub License Like

Folder Right-click
RCFI-Folder_Menu
Background Right-click
RCFI-Background_Menu
Image Right-click
RCFI-Image_Menu



Features

  • Batch generate and change folder icons for each folder.
  • Batch generate and change multiple folders at once.
  • Set image as folder icon directly by right-clicking on them.
  • Use keywords to automatically set the matched file inside a folder as the folder icon.
  • Supports a wide range of image extensions (*.jpg, *.png, *.ico, *.webp, *.jpeg, *.bmp, *.tiff, *.heic, *.heif, *.wbmp, *.tga, *.svg).
  • Automatically edit, convert, and set image as folder icon.
  • Provides several available templates to choose from, eliminating the need for manual editing.
  • Generate *.ico files using template with multiple icon size resources included.
  • Generate *.png files using template.
  • Convert multiple images to any image extension at once.
  • Resize and compress multiple images at once.
  • Activate and Deactivate folders icons.
  • Search for folder icon by folder name.
  • Search for poster image by folder name.
  • Achieve everything with just a few clicks, making it fast and easy.

Sreenshots

GridArt_20230825_142729884_(-resize x260 -quality 90) GridArt_20230825_092621697_(-resize x260 -quality 90) GridArt_20230825_092638437_(-resize x260 -quality 90)

Installation

  1. Download the .zip file here.
  2. Extract it using the password: 1234.
  3. Put the "RCFI Tools" folder somewhere, once it's installed, you are not allowed to move the folder; otherwise you'll have to reinstall it.
  4. Open RCFI Tools.bat.
  5. You'll be prompted to allow the script to write to the Registry. Click 'Yes' to proceed with the installation.
  6. There will be 'config.ini' and 'uninstall.cmd' generated. Done.

You can access 'Folder Icon Tools' via the right-click menu in Windows Explorer.

Note: In case if "RCFI Tools.bat" is flagged as a malicious program by antivirus software (see the issue discussion), you might have to add the "RCFI Tools.bat" to the allow list in your antivirus.



Usage

It's simple and easy to use. Once installed, you can generate a folder icon by right-clicking on a folder, an image, or the folder background. You can choose the template you want to generate the folder icon, it will automatically edit the image using ImageMagick.

Here's some samples of the template i've made.

  Files inside folder  
Sample files


  Generated folder icon  

Generated image, Template: (none)
(none)

Generated image, Template: DVDCase Transparent
DVDCase Transparent

Generated image, Template: DVDCase Bluray
DVDCase Bluray

Generated image, Template: Folder Vertical
Folder Vertical

Generated image, Template: Folder Horizontal
Folder Horizontal

Generated image, Template: (Shadow Only)
(Shadow Only)

Generated image, Template: BeOrigin
BeOrigin

Generated image, Template: Windows 11 A
Windows 11 A

Generated image, Template: Windows 11 Cover
Windows 11 Cover

Generated image, Template: Windows 11 Cover
Windows 11 Folderify

Generated image, Template: DiscArt
DiscArt

Generated image, Template: DVDBox Dark
DVDBox Dark

Generated image, Template: DVDBox Light
DVDBox Light

The samples above use '*Poster*.jpg' as the generated folder icon. Certain templates with specific configurations may combine additional files located within the folder directory to achieve the results as shown above. If the required additional files are not available, they will be ignored, and the folder icon will be generated without them.

To give you an idea of how it looks and how you can use it,
I've made a video that you can watch it Here.
Youtube

Configurations

     Template Configuration

Some templates include configuration settings that can be customized according to your preferences. To modify the configuration, open the 'template file.bat' using a text editor and adjust the values. The 'template file.bat' can be found at RCFI Tools\templates\.

Here are some available settings:

Configuration Options Description
set "display-movieinfo= " yes no Search for a '*.nfo' file located within the same directory as the selected image to get movie information.
set "show-Rating= " yes no Show movie's rating on generated folder icon
set "show-Genre= " yes no Show movie's genre on generated folder icon
set "genre-characters-limit= " [number] Limit the movie's genre characters to fit the template.
set "display-FolderName= " yes no Display folder name on the generated folder icon
set "FolderNameShort-characters-limit= " [number] Limit the folder name characters to fit the template.
set "FolderNameLong-characters-limit= " [number] Limit the folder name characters to fit the template.
set "FolderName-Center= " yes no Auto Align the folder name label on the generated folder icon to the left, center, or use auto-adjustment based on character count.
set "use-Logo-instead-FolderName= " yes no Search for '*Logo.png' within the same directory as the selected image and place it in the folder name's position.
set "display-clearArt= " yes no Search for '*ClearArt.png' within the same directory as the selected image and place it on the generated folder icon.
set "display-discimage= " yes no Search for '*DiscArt.png' within the same directory as the selected image and place it on the generated folder icon.

Note: The availability of the above settings may vary depending on each template.
You can also create your own template using a batch script, just place the script within the 'template' folder.


     RCFI Tools Configuration

The RCFI Tools Configuration can be found in RCFI Tools\RCFI.config.ini and can be adjusted and modified using a text editor.

Here are the available configuration options:

Configuration Options Description
DrivePath=" " [none] Last used drive path
Keyword=" " [string] Keyword for searching an image to set as the folder icon
Keyword-Extension=" " [image file extension] File extension to search for the image
Template=" " [template file name] Default template to use for generating folder icon
TemplateForICO=" " [template file name] Template to use if the image extension is .ico
TemplateForPNG=" " [template file name] Template to use if the image extension is .png
TemplateForJPG=" " [template file name] Template to use if the image extension is .jpg or .jpeg
TemplateAlwaysAsk=" " yes no Always ask which template to use for generating the folder icon
TemplateTestMode=" " yes no When selecting template via choose template menu, redirect to Test Mode page to generate folder icon and execute the template
TemplateTestMode-AutoExecute=" " yes no Generate folder icon and automatically execute the template when modifications on the template file detected
TemplateIconSize=" " [icon height] Specifies the icon height to be generated; multiple icon sizes can be specified, e.g., 256,192,64, which will create icon files with 256x256px, 192x192px, and 64x64px icon resources.
ExitWait=" " [number] Automatically closes the window after [number] seconds. If the number is greater than 99, it will pause indefinitely until manually closed.



Credits

In the end, My role involves is just bringing together the work and ideas of others to bring this project to happend.

A big thank you to all mentioned above for their contributions.