foma24, проверьте:
Код:

@ECHO OFF>222.txt
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /F "tokens=1,2 delims=." %%I IN (111.txt) DO (
SET VAR1=%%J
IF DEFINED VAR1 (
SET VAR2=!VAR1:~1!
IF DEFINED VAR2 (
ECHO %%I.%%J>>222.txt
) ELSE (
ECHO %%I.%%J0>>222.txt
)) ELSE (
ECHO %%I.00>>222.txt
))