Рабочая версия:
Код:
@echo off
setlocal enabledelayedexpansion
for /f "tokens=6,15 delims=;=" %%a in (list.txt) do if "%%b" neq "" (
call:set0 "%%b"
call:set1 "%%a"
for %%I in (!filename!) do call:set2 "%%~zI"
if !size1! neq !size2! (
echo !filename! changed
)
)
goto :EOF
:set0
set "name=%~1"
set filename=OvsPict\%name:~1,100%
goto :EOF
:set1
set "size1=%~1"
goto :EOF
:set2
set "size2=%~1"
goto :EOF
Код:
@echo off
setlocal enabledelayedexpansion
for /f "tokens=6,15 delims=;=" %%a in (list.txt) do if "%%b" neq "" (
call:set0 "%%b"
call:set1 "%%a"
for %%I in (!filename!) do call:set2 "%%~zI"
if !size1! neq !size2! (
echo !filename! changed
)
)
goto :EOF
:set0
set "name=%~1"
set filename=OvsPict\%name:~1,100%
goto :EOF
:set1
set "size1=%~1"
goto :EOF
:set2
set "size2=%~1"
goto :EOF