登录
首页 » Windows开发 » 编写一个程序,对用户由命令行参数传入的一个名称进行判断。如果是一个文件名,则输出该文件相关属性 ( 文件名、路径、绝对路径、是否可读、是否可写和文件的长度等 )...

编写一个程序,对用户由命令行参数传入的一个名称进行判断。如果是一个文件名,则输出该文件相关属性 ( 文件名、路径、绝对路径、是否可读、是否可写和文件的长度等 )...

于 2022-05-13 发布 文件大小:2.27 kB
0 262
下载积分: 2 下载次数: 1

代码说明:

编写一个程序,对用户由命令行参数传入的一个名称进行判断。如果是一个文件名,则输出该文件相关属性 ( 文件名、路径、绝对路径、是否可读、是否可写和文件的长度等 ) 。如果是一个目录,则输出该目录下的文件及子目录名列表。如该名称不存在,则以此名称为名在当前目录下创建一个子目录。 -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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 该计算器是弥补Windows系统“科学型计算器Microsoft((R)_R5.1”功能的不足。专门用来进行两个复数的加、减、乘、除与取反(共轭)计算。用del...
    该计算器是弥补Windows系统“科学型计算器Microsoft((R)_R5.1”功能的不足。专门用来进行两个复数的加、减、乘、除与取反(共轭)计算。用delphi 7 编写。 双击应用程序:Calculate.exe 即打开复数计算器窗口。 -Calculator is the Windows system to make up for "science-based Microsoft Calculator ((R) _R5.1 "functional deficiencies. two devoted to the increase in the plural, subtraction, multiplication, Except for the anti- (conjugate) basis. prepared with delphi 7. Double-click application : Calculate.exe that is the plural Calculator window open.
    2022-08-19 13:44:44下载
    积分:1
  • windows下基于VC++和UDP协议的数据接收程序,基于透明传输协议,mfc界面,带收到确认信号...
    windows下基于VC++和UDP协议的数据接收程序,基于透明传输协议,mfc界面,带收到确认信号-windows Based on VC++ and UDP protocols data reception process, based on a transparent transfer protocol, mfc interface with receive a confirmation signal
    2022-04-28 13:28:27下载
    积分:1
  • This just a tank game example code
    This just a tank game example code-This is just a tank game example code
    2022-05-22 02:37:05下载
    积分:1
  • an excellent drive Duikao tool, it can bring a disk copy of all the contents of...
    一个出色的硬盘对拷工具,它可以把一个磁盘上的全部内容复制到另外一个磁盘上,也可以把磁盘内容复制为一个磁盘的镜像文件,以后你可以用镜像文件创建一个原始磁盘的拷贝。它可以最大限度地减少你每次安装 Win95 、WinNT 和 OS/2 等操作系统的时间,如果你有好几台配置相似的机器需要安装 Win95 , 你会发现使用 GHOST 使事情变得十分简单。GHOST在 DOS 下运行,并且可以从一张 DOS 引导盘上运行。-an excellent drive Duikao tool, it can bring a disk copy of all the contents of a disk to another, and it can also make disk copy of a disk image file, later you can create an image file copy of the original disk. It can reduce to the maximum every time you install Win95, WinNT and OS/2 operating systems, such as the time, if you have several configuration similar to the need to install Win95 machine, you will find the use of GHOST makes things very simple. GHOST running under DOS, and DOS can be a guide plate operation.
    2022-02-20 21:01:37下载
    积分:1
  • 酒店预订系统
    酒店预订管理系统现在天更受欢迎。客户端预订有需要的留在地球上的某些位置。有两种类型的床,即单或双。和TS价格是不同的。如果客户比价格需要更多的服务是通过增加他们占据了最好的服务。
    2022-01-25 23:00:14下载
    积分:1
  • 这是一个学习简单WIN32 Dynamic
    这是一个学习简单WIN32 Dynamic-link library编程的代码 希望对大家有所帮助.
    2023-03-02 12:30:03下载
    积分:1
  • 图像淡入淡出看多了,这是个实现文本淡入淡出的好东西
    图像淡入淡出看多了,这是个实现文本淡入淡出的好东西-image fades out of view of many, this is the realization of the text fades out of the good stuff
    2023-06-19 23:40:04下载
    积分:1
  • 针对硬件的测试程序,用于测试某种IC的功能测试,
    针对硬件的测试程序,用于测试某种IC的功能测试,-For hardware testing procedures for testing the function of some kind of IC testing,
    2022-02-26 10:52:12下载
    积分:1
  • 一个操作系统的摸迷程序,实现进程的调度,有先进先出算法,时间片,优先权等...
    一个操作系统的摸迷程序,实现进程的调度,有先进先出算法,时间片,优先权等-an operating system confused crowds procedures, the process of realization of scheduling, FIFO algorithm, time unit, priority, etc.
    2022-02-26 01:02:43下载
    积分:1
  • 是一个项目查询系统
    是一个项目查询系统-is a project Inquiry System
    2023-06-29 20:30:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载