码迷,mamicode.com
首页 > 其他好文 > 详细

cmd~扩展到~ 以前感觉好难理解

时间:2016-01-08 23:39:29      阅读:193      评论:0      收藏:0      [点我收藏+]

标签:

Variable with modifier

Description

%~I

Expands %I which removes any surrounding quotation marks ("").

%~fI

Expands %I to a fully qualified path name.

%~dI

Expands %I to a drive letter only.

%~pI

Expands %I to a path only.

%~nI

Expands %I to a file name only.

%~xI

Expands %I to a file extension only.

%~sI

Expands path to contain short names only.

%~aI

Expands %I to the file attributes of file.

%~tI

Expands %I to the date and time of file.

%~zI

Expands %I to the size of file.

%~$PATH:I

Searches the directories listed in the PATH environment variable and expands %I to the fully qualified name of the first one found. If the environment variable name is not defined or the file is not found by the search, this modifier expands to the empty string.

cmd~扩展到~ 以前感觉好难理解

标签:

原文地址:http://www.cnblogs.com/imsb/p/5115037.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!