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-12 01:34
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How do you represent a relative path to the current directory? View 869 Replies 2
Original Poster Posted 2010-10-02 19:13 ·  中国 海南 海口 电信
新手上路
Credits 3
Posts 5
Joined 2010-10-01 15:34
15-year member
UID 175166
Gender Female
Status Offline
How do you represent a relative path to the current directory? I found it online before. What I mean is, after extracting a self-extracting file inside an archive, the path should be the same as the path where the archive is located. In other words, no matter which path you put the archive in, the self-extracting file inside the archive will automatically extract to that path.
Floor 2 Posted 2010-10-02 19:30 ·  中国 广东 揭阳 电信
初级用户
★★
Credits 131
Posts 72
Joined 2008-02-24 14:31
18-year member
UID 111317
Gender Male
Status Offline
.\ current directory

..\ the parent directory of the current directory
Floor 3 Posted 2010-10-03 11:10 ·  中国 海南 海口 电信
新手上路
Credits 3
Posts 5
Joined 2010-10-01 15:34
15-year member
UID 175166
Gender Female
Status Offline
Thanks! I'll see if that works for a self-extracting archive?
Forum Jump: