View Single Post
Old 05-25-2015, 10:09 AM   #6
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,741
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by rebl View Post
It seems "{\rtf" works, I'm not sure if with \B is really faster but here is what I'm going to test:
If you add the /R switch and remove the /B switch you could use a regular expression, but I doubt that it'd make the batch file run faster:

Code:
findstr /R /M /c:"^\{\\rtf1" "%%f" && REN "%%f" "%%~nf.rtf"
Doitsu is offline   Reply With Quote