Skip to content

Commit 9cdd5e0

Browse files
authored
...
:: 2024-11-24 Checking and preparing for the v0.4 update release!
1 parent 0552774 commit 9cdd5e0

1 file changed

Lines changed: 17 additions & 21 deletions

File tree

RCFI Tools.bat

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@
1212
:: 2024-07-15 Resolved: Issue #12 – Network drive/UNC paths not supported. [SOLVED]
1313
:: 2024-07-19 Added: Ability to move the icon's path.
1414
:: 2024-07-24 Added: Use "#ID" in config 'IconFileName' to generate a random 6-digit string, which helps avoid the icon cache displaying
15-
:: the previous icon instead of the newly assigned one (unless you refresh the icon cache by restarting Explorer).
15+
:: the previous icon instead of the newly assigned one (unless you refresh the icon cache by restarting Explorer).
1616
:: 2024-07-30 Added: 'Move' and 'Rename' features to the folder right-click menu.
1717
:: 2024-07-31 Added: Ability to hide and unhide "icon.ico" and "desktop.ini" files.
1818
:: 2024-08-14 Fixed: 'Move' and 'Rename' functions to display the correct icon file name and show the proper stats.
1919
:: 2024-08-24 Added: Ability to 'Define keywords', 'Rename Icons', and 'Move Icons' features to maintain a history of previously inserted values.
2020
:: 2024-09-20 Removed: [Template: Win11Folderify] "Picture-opacity" option because it caused transparency to render as black.
21-
:: (Might fix and add it back later if anyone needs it?)
2221
:: 2024-09-20 Added: [Template: Win11Folderify] config "Picture-Drawing=original" to display the picture as is. Requested #13
2322
:: 2024-09-20 Added: [Template: Win11Folderify] config to change the shadow.
2423
:: 2024-09-30 Added: [Template: Kometa] New template. Requested #11
@@ -42,7 +41,7 @@
4241
:: 2024-11-10 Added: modifications to the 'Search Folder Icon' page.
4342
:: 2024-11-15 Fixed: 'TemplateTestMode' not working due to the missing "Samples" folder.
4443
:: 2024-11-17 Fixed: 'Rename icon' incorrectly detects the current icon as a duplicate when the new icon name is the same as the current icon.
45-
44+
:: 2024-11-24 Checking and preparing for the v0.4 update release!
4645

4746
setlocal
4847
set name=RCFI Tools
@@ -1072,6 +1071,7 @@ echo.
10721071
echo %G_%%TAB% to select, insert the number assosiated to the options, then hit Enter.%_%
10731072
call :FI-Template-Input
10741073
echo %TAB%%_% ------------------------------------------------------------------------
1074+
call :Config-Save
10751075
echo.
10761076
echo.
10771077
set "Already=Asked"
@@ -2042,6 +2042,7 @@ set "MovHis="
20422042
set "MovDestination=(none)"
20432043
set /p "MovDestination=%_%%TAB% %_%%I_%Destination:%_%%YY_% "
20442044
set "MovDestination=%MovDestination:"=%"
2045+
if /i "%MovDestination:~-1%"=="\" set "MovDestination=%MovDestination:~,-1%"
20452046
echo.
20462047
if /i "%MovDestination%"=="(none)" echo.&echo.&echo %_%%TAB% %G_% %I_% Canceled %_% &goto options
20472048
if /i "%MovDestination%"=="1" set "MovDestination=%MoveDst1%"&set "MovHis=yes"
@@ -2550,34 +2551,28 @@ set "HideAttrib="
25502551
echo.&echo.&echo.&echo.
25512552
echo %_% %I_% Hide or Unhide the "desktop.ini" and "*.ico" files. %_%
25522553
echo.
2553-
echo %TAB%%G_%You can always hide or unhide the files; it will not move, remove or delete anything,
2554+
echo %TAB%%G_%You can always hide or unhide the files; it will %R_%not%G_% move, remove or delete anything,
25542555
echo %TAB%%G_%nothing scary will happen. just making the files related to the folder icon hidden or not.
25552556
echo.
2556-
echo %_%Press %GN_%H%_%%_% to Hide %G_%^|%_% Press %GN_%U%_% to Unhide%G_%
2557-
echo %G_%Press %G_%C%G_% to Cancel%BK_%
2557+
echo %_%Press %GN_%R%_%%_% to Hide as a regular files %G_%^|%_% Press %GN_%U%_% to Unhide %G_%^| %_%Press %GN_%S%_%%_% to Hide as a system files %G_%
2558+
echo %G_%Press %G_%C%G_% to Cancel%BK_%
25582559
echo.
2559-
CHOICE /C:HUC /N
2560+
CHOICE /C:URSC /N
25602561
echo.&echo.&echo.
2561-
if /i "%errorlevel%"=="2" set "HideAct=Unhide"&set "HideAttrib=-h -s"&goto FI-Hide-GetDir
2562-
if /i "%errorlevel%"=="3" echo %TAB%%G_%%I_% CANCELED %_%&goto Options
2563-
2564-
echo %TAB%%_%Hide it as system file%R_%?%_%
2565-
echo %TAB%%G_%adding "system file" attribute to the file will make it extra hidden.
2566-
echo %TAB%%G_%Options: %GN_%Y%G_%/%GN_%N%G_% ^| Press %GN_%Y%G_% to make it extra hidden.%BK_%
2567-
CHOICE /C:YNC /N
2568-
echo.&echo.&echo.
2569-
if /i "%errorlevel%"=="1" set "HideAct=Hide"&set "HideAttrib=+h +s"&goto FI-Hide-GetDir
2570-
if /i "%errorlevel%"=="2" set "HideAct=Hide"&set "HideAttrib=+h -s"&goto FI-Hide-GetDir
2562+
if /i "%errorlevel%"=="1" set "HideAct=Unhide"&set "HideAttrib=-h -s"&goto FI-Hide-GetDir
2563+
if /i "%errorlevel%"=="2" set "HideAct=Hide"&set "HideAttrib=+h -s"&goto FI-Hide-GetDir
2564+
if /i "%errorlevel%"=="3" set "HideAct=Hide"&set "HideAttrib=+h +s"&goto FI-Hide-GetDir
2565+
if /i "%errorlevel%"=="4" echo %TAB%%G_%%I_% CANCELED %_%&goto Options
25712566
echo %TAB%%G_%%I_% CANCELED %_%
25722567
goto options
25732568

25742569
:FI-Hide-GetDir
2575-
echo %TAB%%GG_% %I_%%W_% Hide Icon Files %-%
2570+
echo %TAB%%GG_% %I_%%W_% Hide Folder Icon Files %-%
25762571
echo.
25772572
if /i "%recursive%"=="yes" echo %TAB%%U_%%W_%RECURSIVE MODE%_%
2578-
set "HideActDisplay=%HideAttrib:-h -s=Unhide%
2579-
set "HideActDisplay=%HideAttrib:+h +s=Hide as sytem files%
2580-
set "HideActDisplay=%HideAttrib:+h -s=Hide%
2573+
if /i "%HideAttrib%"=="-h -s" set "HideActDisplay=Unhide"
2574+
if /i "%HideAttrib%"=="+h -s" set "HideActDisplay=Hide as a regular files"
2575+
if /i "%HideAttrib%"=="+h +s" set "HideActDisplay=Hide as a system files"
25812576
echo %TAB%%W_%Action:%ESC%%CC_%%HideActDisplay%%ESC%
25822577
call :Timer-start
25832578
echo %TAB%%W_%==============================================================================%_%
@@ -2615,6 +2610,7 @@ if /i "%Recursive%"=="yes" (
26152610
)
26162611
)
26172612
echo %TAB%%W_%==============================================================================%_%
2613+
echo %TAB%%W_%Action:%ESC%%CC_%%HideActDisplay%%ESC%
26182614
echo.
26192615

26202616
set "num=%Folders%"&call :Spaces

0 commit comments

Comments
 (0)