- 帖子
- 54
- 积分
- 418
- 技术
- 1
- 捐助
- 0
- 注册时间
- 2008-11-7
|
FI.EXE
Version 0.13, Copyright (C)2002, Frank P. Westlake.
Prints a list of files.
FI [options] file [[options] file [. . .]]
file May include wild cards. Use the current directory indicator (.) to
refer to a directory, ex: FI C:\temp\.
Options, must precede 'file':
/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 编辑 ] |
-
1
评分人数
-
|