2424:: 2024-12-27 Added: Auto-refresh folder after task completion.
2525:: 2024-12-27 Fixed: "TemplateAlwaysAsk" activated every time a template was selected in 'Template Configurations'.
2626:: 2024-12-27 Added: Option to toggle "TemplateAlwaysAsk" in 'Template Configurations'.
27- :: 2024-12-28 Updated: Recompiled FolderIconUpdater.exe to include required redistributable libraries.
28-
27+ :: 2024-12-28 Updated: Recompiled FolderIconUpdater.exe to include required libraries.
28+ :: 2025-01-01 Happy New Year! 🎉
2929
3030setlocal
3131set name = RCFI Tools
@@ -163,7 +163,7 @@ echo %TAB% %PP_%Drag and drop%_%%G_% an %C_%image%G_% into this window,
163163echo %TAB% then press Enter to change the folder icon.
164164echo .
165165echo .
166- echo " %C_% O%G_% " to open file selection dialog. " %C_% C%G_% " to open Collections folder.
166+ echo %C_% O%G_% to open file selection dialog. %C_% C%G_% to open Collections folder.
167167)
168168goto Options-Input
169169
@@ -514,7 +514,7 @@ if /i "%InitDir%"=="collect" (
514514
515515set " SaveSelectedFile = %RCFI% \resources\selected_file.txt"
516516set " fileFilter = Image Files (*.jpg, *.png, *.ico, ...)|%ImageFilter% "
517- set " OpenFileSelector = Add-Type -AssemblyName System.Windows.Forms; $f = New-Object System.Windows.Forms.OpenFileDialog; $f.InitialDirectory = '%initialDirectory% '; $fileDialog.RestoreDirectory = $true; $f.Filter = '%fileFilter% '; $f.ShowDialog() | Out-Null; $f.FileName; exit"
517+ set " OpenFileSelector = Add-Type -AssemblyName System.Windows.Forms; $f = New-Object System.Windows.Forms.OpenFileDialog; $f.InitialDirectory = '%initialDirectory% '; $fileDialog.RestoreDirectory = $true; $f.Multiselect = $true; $f. Filter = '%fileFilter% '; $f.ShowDialog() | Out-Null; $f.FileName; exit"
518518
519519if /i not " %FS-referer% " == " cmd" (
520520echo .& echo.& echo.& echo.& echo.& echo.& echo.& echo.& echo.& echo.
@@ -1283,7 +1283,7 @@ echo %W_%%I_% T E M P L A T E %_%
12831283if /i not " %referer% " == " FI-Generate" (
12841284 if /i " %TemplateAlwaysAsk% " == " yes" (
12851285 echo .
1286- echo %CC_%%I_% %_% %W_% TemplateAlwaysAsk %G_% is %R_ % active%G_%
1286+ echo %CC_%%I_% %_% %W_% TemplateAlwaysAsk %G_% is %GG_ % active%G_%
12871287 echo choosing any template will be redirected to Test Mode.
12881288 )
12891289)
@@ -1720,7 +1720,7 @@ if not "%SrcInput%"=="%SrcInput: icon=%" set "SrcInput=%SrcInput:icon=%"&set "Pr
17201720if not " %SrcInput% " == " %SrcInput: logo =% " set " SrcInput = %SrcInput:logo =% " & set " PreAppliedKeyword=%PreAppliedKeywordLogo% "
17211721
17221722Start " " " https://google.com/search?q=%SrcInput% %PreAppliedKeyword% "
1723- cls
1723+ cls& echo. & echo. & echo.
17241724if /i not " %Context% " == " " exit
17251725goto FI-Search
17261726
@@ -3013,6 +3013,12 @@ echo %TAB%%G_%--------------------------------------------------
30133013echo %TAB%%W_% Location:%ESC%%_%%CollectionsFolder%%ESC%
30143014echo .
30153015echo %TAB% %W_% (%C_%%CollectAddSuccess%%W_% )%_% Items added to collections.
3016+ echo .& echo.& echo.
3017+ echo %TAB%%G_% Press %YY_% O%G_% to open Collections folder. ^ | %G_% Press %R_% X%G_% to close this window.%BK_%
3018+ choice /C:ox /N
3019+ set " ExitPause = %errorlevel% "
3020+ if /i " %ExitPause% " == " 1" explorer.exe " %CollectionsFolder% " & EXIT
3021+ if /i " %ExitPause% " == " 2" EXIT
30163022goto options
30173023
30183024:IMG-Add_to_collections-UnsupportedFileType
@@ -3023,7 +3029,7 @@ EXIT /B
30233029:IMG-Add_to_collections-DuplicateChecks
30243030for %%D in (" %CollectionsFolder% \%FileName%%F ileType% " ) do (
30253031 if " %FileSize% " == " %%~zD " (
3026- echo %TAB%%C _% 🏞%ESC%%G _% %%~nxI %ESC% %G_ % Already exist.%_%
3032+ echo %TAB%%C _% 🏞%ESC%%G _% %%~nxI %ESC% %GG_ % Already exist.%_%
30273033 EXIT /B
30283034 ) else (
30293035 set " RenDupCount = 0"
@@ -3935,7 +3941,7 @@ if /i "%setup_select%"=="2" (
39353941 echo %G_% Folder Icon Tools have been removed from the right-click menus.%_%
39363942if /i " %Setup% " == " Deactivate" set " Setup = Deactivated"
39373943)
3938- if /i " %Setup% " == " Deactivated" %p5% & %p3% & exit
3944+ if /i " %Setup% " == " Deactivated" echo . & echo Press any key to close . . . & pause > nul & exit
39393945goto options
39403946
39413947:Setup_error
0 commit comments