setlocal enabledelayedexpansion
for %%i in ("%tmp%\encrypt.tmp") do (
echo %%~zi
set size=%%~zi
set num=!size:~-1!
set /a mod=!num!%%2
if !mod! equ 0 (goto even) else (goto odd)
)
[ Last edited by bjsh on 2007-7-31 at 10:56 AM ]作者: lxmxn 时间: 2007-6-27 21:08 help for作者: gorke 时间: 2007-6-27 21:09 老大~!你能不能给我个例子~~~~~~~~~
我 help for 看了N次了~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~