&echo INPUT MISSING - Usage: REGMERGE foldername containing *.reg &echo Drag and drop a folder into REGMERGE.bat &PING localhost >nul 2>&1 &EXIT /BĬLS &echo. :: Start OFF &SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION :: input folder with *.reg -start-> -combine-> input.reg :: - no retard prompts, it will timeout self if no action from user :: - no need for admin rights, sorting will be done without importing into live OS :: Should work on a default, working Windows 7 :: Merges an input folder containing *.reg files into a single input.reg :: my script bad, badder than yours - Some Rights Reserved 2011 AveYo Remove duplicate lines from any text-based file, while preserving blank lines. Supports files with ASCII, UTF-8 and UNICODE character encoding Usage : just drag and drop your file on to this script. Remove duplicate lines, blank lines or lines containing only white space from any text-based file It is based on JRepl script from dbenham (thanks to him for the utility, and also for sharing the correct regex syntax) (Still don't know what happens with file without BOM, but it should work.)Ĭontrary to simple batch scripts, it is a very robust solution, supporting any strange character, and relatively fast. Now made 2 different ones, it is much faster (with the correct regex), and it supports unicode encoding.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |