![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 21:07 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » How can I use external commands in any directory |
| Printable Version 949 / 2 |
| Floor1 电吉入侵 | Posted 2003-06-09 00:00 |
| 初级用户 Posts 377 Credits 1,480 | |
|
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)...
|
|
| Floor2 Lydong | Posted 2003-06-09 00:00 |
| 元老会员 Posts 407 Credits 1,468 From 广州 | |
|
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 ";".
|
|
| Floor3 电吉入侵 | Posted 2003-06-09 00:00 |
| 初级用户 Posts 377 Credits 1,480 | |
|
Oh~~~~~~ finally got it working, learned a few more things too, thanks a lot!
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |