China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-26 16:17
中国DOS联盟论坛 » 其它操作系统综合讨论区 » How to use these parameters? View 2,378 Replies 0
Original Poster Posted 2016-10-21 20:22 ·  中国 浙江 台州 移动
新手上路
Credits 4
Posts 1
Joined 2016-10-20 19:27
9-year member
UID 181877
Gender Male
Status Offline
%~dpI - Expands %I to a drive letter and path only
%~nxI - Expands %I to a file name and extension only
%~fsI - Expands %I to a full path name with short names only
%~dp$PATH:I - Searches the directories listed in the PATH environment variable and expands %I to the drive letter and path of the first one found.
%~ftzaI - Expands %I to a DIR-like output line
How to use these parameters? Can you give a simple example to express it? I can't find it online
Forum Jump: