for /f "tokens=1-3 delims=; " %%i in ("%qq%") do (
set pp=%%j
if "!pp:~-2!"=="==" (set pp===) else (
if "!pp:~-1!"=="=" set pp==
))作者: knoppix7 时间: 2007-8-10 13:32 MS-DOS里有for/f吗?
Runs a specified command for each file in a set of files.
FOR %variable IN (set) DO command [command-parameters]
%variable Specifies a replaceable parameter.
(set) Specifies a set of one or more files. Wildcards may be used.
command Specifies the command to carry out for each file.
command-parameters
Specifies parameters or switches for the specified command.
To use the FOR command in a batch program, specify %%variable instead of
%variable.作者: lianjiang2004 时间: 2007-8-10 13:38
Quote:
Originally posted by tyh at 2007-8-8 10:54:
我是这么搞的,当然,也不好。
for /f "tokens=1-3 delims=; " %%i in ("%qq%") do (
set pp=%%j
if "!pp:~-2!"=="==" (set pp===) else (
if & ...