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-13 18:10
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Newbie Seeking Help] Understanding and Usage of PATH! View 4,464 Replies 24
Floor 16 Posted 2006-03-20 16:56 ·  中国 湖南 常德 电信
银牌会员
★★★
Credits 1,384
Posts 709
Joined 2005-10-29 22:22
20-year member
UID 44271
Status Offline
No, it's the pure DOS environment brought by Win98. After setting the path in autoexec.bat, enter the pure DOS to view, there are always two paths of c:\windows and c:\windows\command. The newly added path can only be placed after these two default paths.
Floor 17 Posted 2006-03-21 17:37 ·  中国 浙江 宁波 电信
中级用户
★★
Credits 300
Posts 137
Joined 2005-11-04 02:00
20-year member
UID 44559
Gender Male
Status Offline
If you add it in AUTOEXEC.BAT, there will be the result you mentioned, but if you define the path with the PATH command after entering the DOS system, it will overwrite the original path and become the newly defined path. If you want a permanent solution, then you can only open MSDOS.SYS and set the path in it.
Floor 18 Posted 2006-06-19 18:49 ·  中国 上海 电信
初级用户
Credits 30
Posts 11
Joined 2006-06-17 21:50
20-year member
UID 57182
From 湖北公安
Status Offline
Dear experts, may I ask how to delete a path?
Floor 19 Posted 2006-06-20 08:43 ·  中国 北京 联通
银牌会员
★★★
DOS联盟捡破烂的
Credits 1,144
Posts 425
Joined 2005-10-20 00:00
20-year member
UID 43784
From 北京
Status Offline
There's not much to say about the PATH command.
path; Delete all PATH paths.
path=%path%;Add new path. This is to append on the original PATH path.
Floor 20 Posted 2006-06-21 21:39 ·  中国 上海 电信
初级用户
Credits 30
Posts 11
Joined 2006-06-17 21:50
20-year member
UID 57182
From 湖北公安
Status Offline
Thanks, expert. The newbie has learned it.
Floor 21 Posted 2006-06-22 00:47 ·  中国 湖南 常德 电信
初级用户
Credits 79
Posts 31
Joined 2006-06-11 19:16
20-year member
UID 56887
Gender Male
Status Offline
Got a further understanding of PATH. Still, the forum is great, with detailed explanations. If I didn't come to the forum, I might not have figured it out for a long time.
Floor 22 Posted 2006-06-24 10:33 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
Floor 23 Posted 2006-09-08 06:32 ·  中国 北京 中移铁通
新手上路
Credits 2
Posts 1
Joined 2006-09-07 06:52
19-year member
UID 62031
Gender Male
Status Offline
Thanks
Floor 24 Posted 2006-09-27 07:23 ·  中国 浙江 台州 电信
初级用户
Credits 54
Posts 18
Joined 2006-08-26 13:12
19-year member
UID 61314
Status Offline
Received, thank you!! What I saw in the help command is not detailed. And there are no examples. It's not easy to learn.
Floor 25 Posted 2006-09-30 04:26 ·  中国 广东 东莞 电信
中级用户
★★
Credits 282
Posts 130
Joined 2006-09-20 22:25
19-year member
UID 63201
From 广东
Status Offline
Easy to understand,
I have learned.
Forum Jump: