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 22:03
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » How can I use external commands in any directory View 950 Replies 2
Original Poster Posted 2003-06-09 00:00 ·  中国 广东 广州 白云区 电信
初级用户
★★★
Credits 1,480
Posts 377
Joined 2003-06-06 00:00
23-year member
UID 3875
Gender Male
Status Offline
I formatted a minimal boot disk myself, then put some commonly used DOS commands on it, but I can only use those commands when I'm at A:\. How do I make them usable in any directory (I remember the Win98 boot disk could do that)...
欢迎大家访问我的主页!
精品.爱好http://iso.533.net
Floor 2 Posted 2003-06-09 00:00 ·  中国 广东 广州 黄埔区 电信
元老会员
★★★
Credits 1,468
Posts 407
Joined 2002-10-21 00:00
23-year member
UID 34
Gender Male
From 广州
Status Offline
Use PATH=A:;%PATH%      ;%PATH% is the original external command search path. If it wasn't set before, you can put the path where you store the external commands here, separated with ";".


欢迎大家观临我的个人主页:

http://dosdiy.bluepc.com.cn/
http://dosdiy.ys168.com/


EMAIL: lydong@china.com.cn lydong@yeah.net
----------------------------------------------
Floor 3 Posted 2003-06-09 00:00 ·  中国 广东 广州 白云区 电信
初级用户
★★★
Credits 1,480
Posts 377
Joined 2003-06-06 00:00
23-year member
UID 3875
Gender Male
Status Offline
Oh~~~~~~ finally got it working, learned a few more things too, thanks a lot!
欢迎大家访问我的主页!
精品.爱好http://iso.533.net
Forum Jump: