':
/A Attribute filter, Prints only the files with specified attributes.
Ex: /A+SH-R (prints only the files with S and H but without R)
/B Prints only the file name.
/C Format numbers with a separator (default). Use /-C to disable.
/D Print information on the device, for example: /D C: or \\.\
/G[A|C|W]"<"|"="|">"value[/divisor]
Filters files by age in days. If '/divisor' is given, the day value
is divided by that value (i.e. /24 for hours, /1440 for minutes).
A=last access, C=creation, W=last write. Default is W.
/H Include alternate data stream names. Printed as 'file:stream'.
/L Include link index and the number of links as first two columns.
/Q Include owner in brief listing or SIDs in verbose listing.
/S Displays files in specified directory and all subdirectories.
/T[A|C|W][G]
Print the time stamp of the file (default). Use /-T to disable. If
'G' is included print age instead of time.
A=last access, C=creation, W=last write. Default is W.
Examples: /TC /TCG /-T
/V Print detailed information for each file.
/X Use short file names.
/Z["<"|"="|">"value]
Filters files by size (default). Use /-Z to disable printing of
file size.
The hyphen may be used to reverse the effect of an option.
Comparison operators must be quoted somehow: /z"="0 "/z=0" /"z=0"
Swirches may be predefined in an environment variable with the name of this
program, for example 'SET FI.EXE=/LHQ-C'. The program name may vary.
Codes displayed with trustee rights [T:RWXDPODF+]:
T=Either "Allows" or "Denies" the displayed permissions.
R=Read, W=Write, X=Execute, D=Delete, P=Permissions write, O=Owner write.
P=Primary object, D=Directories inherit, F=Files inherit, +=Propagated
Examples:
FI C:\WINNT\.
FI "/g>7" /ash-r C:\WINNT\*.exe
FI "/z=0" C:\WINNT\*.exe
可以直接寻找从当日开始多少日之内产生或修改的文件
用法和DIR差不多
EX:
- C:\1>FI /TC /AD %SYSTEMDRIVE%
- Listing of 046C-52E5 C:\1\*
- 2008-10-31 11:35:14 --D----- - dat
- 2008-10-20 13:13:12 --D----- - debug
- 2008-09-26 09:53:54 --D----- - klif
- 2008-10-09 09:47:18 --D----- - program
- 2008-11-10 17:28:55 --D----- - Temp
复制代码
- C:\1>FI /TC /AD "/G<30" %SYSTEMDRIVE%
- Listing of 046C-52E5 C:\1\*
- 2008-10-31 11:35:14 --D----- - dat
- 2008-10-20 13:13:12 --D----- - debug
- 2008-11-10 17:28:55 --D----- - Temp
复制代码
在这有得到东西也要有东西回馈
没空间就放免费的了
http://kotuha.com/file/ELvFp-fi.html
[ 本帖最后由 sylovanas 于 2008-11-10 17:37 编辑 ]
作者: Batcher 时间: 2008-11-10 17:49
感觉和 GNU for Win32 的 find.exe 有类似之处
作者: wxcute 时间: 2008-11-10 19:06 标题: 多谢楼主分享。
E 文不是很好,看着点点吃力。
我用这个 fi/b/x。
作者: hkmhd 时间: 2008-11-28 13:40
不会英文,吃力的看着说明
作者: 5o0o0o0 时间: 2008-12-2 08:20
的确不会英文啊,谢谢
作者: lubb 时间: 2009-4-24 17:20
下载来用用,慢慢学好了。
欢迎光临 批处理之家 (http://bbs.bathome.net/) |
Powered by Discuz! 7.2 |