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

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

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

  • 超越 Java 书籍语言: 英文 书籍类型: 程序设计 授权方式: 免费软件 书籍大小: 563...
    超越 Java 书籍语言: 英文 书籍类型: 程序设计 授权方式: 免费软件 书籍大小: 563 KB -books beyond Java language : English books categories : program design license : free software books Size : 563 KB
    2023-08-28 11:05:04下载
    积分:1
  • evc simple recording procedure can detect the voice
    evc 简单的录音程序,可以检测声音驱动-evc simple recording procedure can detect the voice-driven
    2022-01-26 17:28:49下载
    积分:1
  • 算法设计实验要求中的求几何图形的个数的算法,用c++编写
    算法设计实验要求中的求几何图形的个数的算法,用c++编写-algorithm design of the experimental requirements for geometric figure for the number of the algorithm used to prepare c
    2022-05-16 12:59:40下载
    积分:1
  • sl会员商城素材
    这是一个大型的企业sl会员商城的项目素材,需要这方面的学习的可以下载来做,做的来绝对日你受益匪浅
    2022-01-25 14:43:25下载
    积分:1
  • 实现类似PHOTOSHOP的橡皮擦,光标随擦子增大而变化。
    实现类似PHOTOSHOP的橡皮擦,光标随擦子增大而变化。-achieve similar PHOTOSHOP the eraser, the cursor with Cazi grows.
    2022-02-05 23:01:33下载
    积分:1
  • 仿Windows Media Player的播放 仿Windows Media Player的播放
    仿Windows Media Player的播放 仿Windows Media Player的播放-Imitation of the player Windows Media Player
    2022-10-19 06:55:03下载
    积分:1
  • 操作注册表的例子
    罗的操作注册表的例子 .386 .model flat, stdcall option casemap :none ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; Include 文件定义 ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> include windows.inc include user32.inc includelib user32.lib include kernel32.inc includelib kernel32.lib include Advapi32.inc includelib Advapi32.lib ;>>>>>>>>>>>>>>>>>
    2022-06-30 19:09:30下载
    积分:1
  • a screen saver
    一个屏幕保护程序-a screen saver
    2023-01-19 18:50:04下载
    积分:1
  • used to write the 18b20 driver function : to achieve DS18B20 read Principle : si...
    用c写的18b20驱动程序 功能:实现对DS18B20的读取 原理:单总线协议 注意:单总线协议对延时要求比较严格,此程序中采用的是11.0592M的晶振,如果使用其他的晶振请跟据DS18B20的资料修改延时参数-used to write the 18b20 driver function : to achieve DS18B20 read Principle : single-bus protocol attention : single-bus protocol to delay requirements more stringent, this procedure is used in the crystal 11.0592M if the use of other crystal please According to the information DS18B20 delay parameter changes
    2022-03-18 07:48:12下载
    积分:1
  • 用途:中文BIG5 / GBK、Unicode / UTF8编码转换器。注:文件转换…
    用途: 中文 Big5/GBK/Unicode/UTF8 内码转换器。    注意:档案转换只能将纯文字格式的文件(例如 txt, html 等)转码,    并不适用于如 MS Word, Excel 等 binary 档案。 系统要求: 视窗9x/ME/NT/2000/XP/2003 安装: 将所有档案解压到一个新资料夹,然后直接在档案总管执行 convertz.exe。 开启ConvertZ后可于程式设定一栏选择加快捷列到桌面、开始功能表、或程式集。-Uses: Chinese Big5/GBK/Unicode/UTF8 code converters. Note: File conversion only plain text documents (for example, txt, html, etc.) to code, does not apply to such as MS Word, Excel and other binary files. System Requirements: Windows 9x/ME/NT/2000/XP/2003 Installation: extract all files to a new folder, and then directly in Windows Explorer implementation convertz.exe. ConvertZ open after the program settings can be added one column select Shortcut Bar to your desktop, Start menu, or Programs.
    2023-07-19 20:45:03下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载