CODE: [Copy to clipboard]for %%a in (*.ttt) do if %%~za equ 0 ren 0.xxx %%~na.txt
CODE: [Copy to clipboard]for %%a in (c:\0\*.txt) do cd.>%%~na.ttt