My first FOR-IN-DO LOOP in a batch file.
FOR.BAT
==================
FOR %%F IN (*.TXT) DO CALL TEST.BAT "%%F"
The quotes make it work in DOS for filenames with spaces.
TEST.BAT
==================
@echo off
Type %1 > file_.txt
Del %1
copy file_.txt %1
del file_.txt
2 Comments:
This removes Unicode.
Thanks for writing this.
Post a Comment
Subscribe to Post Comments [Atom]
<< Home