I followed the instructions verbatim and as an administrator. The batch file ran and in the process repeated many times the following to the screen:
'icacls' is not recognized as an operable program or batch file.
0 files moved and
Access is denied and
The system cannot find the specified files.
When it was all done no font files were residing in the c:\2manyfonts directory and the fonts I wanted rid of are still listed in FONTS, and I looked in your batch file and you are indeed targeting the fonts I wanted rid of. I don't know who presumed I'd
ever need those, but most of my applications list them making my list of fonts way to long. I'm slightly acquainted with batch files but not ICACLS and that seems to be one of the glitches on my machine (Windows 7 x64)
I directed/piped the output of the batch file that normally goes to the screen to a TXT file with the following results:
BEGIN END BATCH FILE WRITES TO SCREEN
=================================================================
C:\2ManyFonts>REM This is the batch file _2mf.bat version 1.0 from 2010-03-15
C:\2ManyFonts>REM This batch file which will move 150 non-latin fonts
C:\2ManyFonts>REM from the Windows\Fonts directory to a backup directory
C:\2ManyFonts>REM Please read the readme.txt for more information
C:\2ManyFonts>REM Latest version and news can be found in the blog-post
C:\2ManyFonts>REM "How to remove Windows 7 non-latin fonts" on
C:\2ManyFonts>REM http://www.support-ing.de/2010-02-11/how-to-remove-windows-7-not-latin-fonts
C:\2ManyFonts>REM
C:\2ManyFonts>REM Use on your own risk
C:\2ManyFonts>REM
C:\2ManyFonts>REM Written by Support-Ing Martin Ihde, http://www.support-ing.de
C:\2ManyFonts>REM
Fonts will be moved from c:\Windows\Fonts\ to c:\2manyfonts\
Continue? Please press "y" for yes or "n" for no: 0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
0 file(s) moved.
.
.
Finished! :-)
.
Press any key to continue . . .
=================================================================
END BATCH FILE WRITES TO SCREEN
This bat file was run in c:\2manyfonts and the path in that place was as follows:
PATH=C:\ProgramData\Oracle\Java\javapath;C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\WINDOWS LIVE;C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT SHARED\WINDOWS LIVE;C:\PROGRAM FILES (X86)\INTEL\ICLS CLIENT;C:\PROGRAM FILES\INTEL\ICLS CLIENT;C:\PROGRAM
FILES (X86)\ATI TECHNOLOGIES\ATI.ACE\CORE-STATIC;C:\WINDOWS\COMMAND;C:\Windows;C:\PROGRAM FILES (X86)\AMD\ATI.ACE\CORE-STATIC;;C:\Program Files\Lenovo\Bluetooth Software;C:\Program Files\Lenovo\Bluetooth Software\syswow64;C:\Program Files (x86)\Common Files\Seagate\SnapAPI;C:\Program
Files (x86)\QuickTime\QTSystem\
I don't know if 'icacls' is an OS internal or batch internal command I'm unfamiliar with, or if it was an executable assumed to be in my path and wasnt?
Any tips on what I missed to make this valuable and time saving batch run are welcomed. Thanks, Dean
******@cox.net 2/16/16