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-06-26 16:55
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » What command can be used to find the current drive letter setting? View 774 Replies 4
Original Poster Posted 2003-09-20 00:00 ·  中国 江苏 苏州 电信
中级用户
★★
Credits 369
Posts 87
Joined 2003-09-14 00:00
22-year member
UID 9822
Gender Male
Status Offline
What command can be used to find the current drive letter setting?
Floor 2 Posted 2003-09-20 00:00 ·  中国 北京 科技网
银牌会员
★★★
颓废青年
Credits 2,265
Posts 721
Joined 2003-05-12 00:00
23-year member
UID 2032
Gender Male
Status Offline
What do you mean?
Floor 3 Posted 2003-09-21 00:00 ·  中国 江苏 苏州 电信
中级用户
★★
Credits 369
Posts 87
Joined 2003-09-14 00:00
22-year member
UID 9822
Gender Male
Status Offline
For example, if I write a batch file and need to go to another drive to call a file, after it's done I want to return to the current drive. Then in the batch file I would first need to determine the current drive letter, then go to the other drive to execute commands and call files, and then return to the current drive. This is my line of thinking; maybe there is a better way. Please give me some advice, experts.
Floor 4 Posted 2003-09-22 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Use the PUSHD and POPD commands together..
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 5 Posted 2003-09-23 00:00 ·  中国 江苏 苏州 电信
中级用户
★★
Credits 369
Posts 87
Joined 2003-09-14 00:00
22-year member
UID 9822
Gender Male
Status Offline
Is this an internal command or an external command? Where can I get it?
Forum Jump: