中国DOS联盟论坛

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-16 03:22
47,813 topics / 349,903 posts / today 1 new / 48,258 members
DOS疑难解答 & 问题讨论 (解答室) » What command can be used to find the current drive letter setting?
Printable Version  823 / 4
Floor1 kavenlee72 Posted 2003-09-20 00:00
中级用户 Posts 87 Credits 369
What command can be used to find the current drive letter setting?
Floor2 hunome Posted 2003-09-20 00:00
银牌会员 Posts 721 Credits 2,265
What do you mean?
Floor3 kavenlee72 Posted 2003-09-21 00:00
中级用户 Posts 87 Credits 369
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.
Floor4 Wengier Posted 2003-09-22 00:00
系统支持 Posts 10,521 Credits 27,736
Use the PUSHD and POPD commands together..
Floor5 kavenlee72 Posted 2003-09-23 00:00
中级用户 Posts 87 Credits 369
Is this an internal command or an external command? Where can I get it?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023