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

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

于 2022-05-13 发布 文件大小:2.27 kB
0 248
下载积分: 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 个回复

  • lottery number
    此源代码是一个简单的java程序,可以自动生成6位数字。生成的数字也会自动从最小到最大排序。代码还包括重复编号的条件。
    2022-02-26 22:31:39下载
    积分:1
  • Summary of time
    简易的时间锁。 通过循环置顶实现锁定,默认密码在代码中。 初次运行请小心。-Summary of time-lock. Top realize through the cycle of lock, the default password in the code. Please be careful initial run.
    2022-08-03 05:43:37下载
    积分:1
  • 简单的cd播放器,用vc编写的
    简单的cd播放器,用vc编写的-simple cd players, prepared with vc
    2022-03-01 05:59:17下载
    积分:1
  • chushihua
    1. 掌握链式存储的实现栈的初始化、入栈、出栈操作。 2. 采用链式存储实现队列的初始化、入队、出队操作。 -chushihua
    2022-07-21 17:14:39下载
    积分:1
  • 一款利用vc调用windows API函数,模拟键盘输入的小程序。仅供参考...
    一款利用vc调用windows API函数,模拟键盘输入的小程序。仅供参考-use vc calling Windows API functions, simulated keyboard input of small procedures. For reference
    2022-03-21 07:18:48下载
    积分:1
  • 用Visual C++编写的窗口生成的代码,很容易理解Windows程序…
    采用Visual C++编写的窗口产生代码,便于理解Windows程序运行原理及程序编写流程,窗口产生过程,句柄原理,消息队列,回调函数,窗口关闭与应用程序退出的工作关系-Using Visual C++ Prepared window generated code, easy to understand Windows program to run the principle and procedure of the preparation process, the process window, handle theory, message queues, callback function, the window closed with the application to withdraw from the working relationship between
    2022-09-03 06:35:03下载
    积分:1
  • WordPad source code to achieve all the functionality of WordPad. Very good
    写字板的源代码,实现写字板的所有功能.非常不错-WordPad source code to achieve all the functionality of WordPad. Very good
    2023-01-15 12:10:04下载
    积分:1
  • personnel management system(for this year s graduates, including source code)
    人事管理系统(应届毕业生用的管理系统,含源代码)-personnel management system(for this year s graduates, including source code)
    2022-02-05 01:38:25下载
    积分:1
  • 用evc编写的WindowsCE.net下的注册表编辑程序的源代码
    用evc编写的WindowsCE.net下的注册表编辑程序的源代码-an regeditor source code developed by evc for WindowsCE.net
    2022-05-04 23:46:02下载
    积分:1
  • Imitation of a Vista Aero
    一个仿Vista Aero风格的窗体界面源码-Imitation of a Vista Aero-style interface source code form
    2023-01-24 22:05:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载