I'm a new arrival, please take care, hehe, just groping...
@echo off
fc 1.txt 2.txt>3.txt
setlocal enabledelayedexpansion
for /f %%a in (3.txt) do set file1=%%a !file1!
if %file%==""
(
goto end
)
else
(
copy test.xls e:\备份.xls
)
:end
[ Last edited by uemuem on 2006-10-14 at 01:17 ]
@echo off
fc 1.txt 2.txt>3.txt
setlocal enabledelayedexpansion
for /f %%a in (3.txt) do set file1=%%a !file1!
if %file%==""
(
goto end
)
else
(
copy test.xls e:\备份.xls
)
:end
[ Last edited by uemuem on 2006-10-14 at 01:17 ]
个人主页-找餐厅:http://www.canting.cc
