Board logo

标题: [文件操作] Finfo 文件信息工具 [打印本页]

作者: defanive    时间: 2008-11-16 17:00     标题: Finfo 文件信息工具

今天刚学 C# 顺带做的个练习,不错的效果。


FInfo Command Tool
Made By Defanive
This tool can use in dos mode, it can give some infomations about files.
Arguments:
   /?      Show this help
   /lwt    Get the LastWritingTime of file
   /ct     Get the CreatedTime of file
   /rlu    Read the file by one line
   /ra     Read the file all
   /tl     Get the Lines Total of file
   /fb     Get the Bytes of file


Finfo /? 显示帮助
Finfo /lwt 文件名 显示文件的最后修改时间
Finfo /ct 文件名 显示文件的创建时间
Finfo /rlu 行 文件名 显示文件中的指定行,注意行为数字
Finfo /ra 文件名 显示文件全部
Finfo /tl 文件名 显示文件总行数
Finfo /fb 文件名 显示文件字节数


可以看出,几乎是非常强大的,对于一些很复杂的文本操作也可以简单使用

http://bcn.bathome.net/s/tool/index.html?key=Finfo
作者: garyng    时间: 2011-8-11 17:04

正好派上用场~
作者: a262615704    时间: 2011-10-15 22:40

可惜不支持纯DOS




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2