文件名称:file_program
介绍说明--下载内容来自于网络,使用问题请自行百度
编写一个程序,对用户由命令行参数传入的一个名称进行判断。如果是一个文件名,则输出该文件相关属性 ( 文件名、路径、绝对路径、是否可读、是否可写和文件的长度等 ) 。如果是一个目录,则输出该目录下的文件及子目录名列表。如该名称不存在,则以此名称为名在当前目录下创建一个子目录。
-prepare a process that the user from the command line parameters into the name of a judge. If it is a document, then the output of the document attribute (file name, path, the absolute path, readable, can be written and the length of documents, etc.). If it is a directory, then the output directory and subdirectory of documents from the list. If the name does not exist, it is also the name of the name of the current directory to create a subdirectory.
-prepare a process that the user from the command line parameters into the name of a judge. If it is a document, then the output of the document attribute (file name, path, the absolute path, readable, can be written and the length of documents, etc.). If it is a directory, then the output directory and subdirectory of documents from the list. If the name does not exist, it is also the name of the name of the current directory to create a subdirectory.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
200410032009019128java
file_program/200410032009019128java
file_program/200410032009019128java.bak
file_program
www.dssz.com.txt
file_program/200410032009019128java
file_program/200410032009019128java.bak
file_program
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.