Originally posted by wxs81514 at 2008-7-4 11:26 PM:
多谢4楼的兄弟,算法很高明,for命令用得这么熟。
我试过了,很好用,能达到我的要求,就是CPU占用太高了。
有一条命令我看不懂,再请教一下: ...
for /?
%~I - expands %I removing any surrounding quotes (")
%~fI - expands %I to a fully qualified path name
%~dI - expands %I to a drive letter only
%~pI - expands %I to a path only
%~nI - expands %I to a file name only
%~xI - expands %I to a file extension only
%~sI - expanded path contains short names only
%~aI - expands %I to file attributes of file
%~tI - expands %I to date/time of file
%~zI - expands %I to size of file
%~$PATH:I - searches the directories listed in the PATH
environment variable and expands %I to the
fully qualified name of the first one found.
If the environment variable name is not
defined or the file is not found by the
search, then this modifier expands to the