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 22:32
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Question about the cmd directory View 1,002 Replies 3
Original Poster Posted 2003-11-30 00:00 ·  中国 上海 杨浦区 电信
初级用户
Credits 114
Posts 3
Joined 2003-10-19 00:00
22-year member
UID 11514
Gender Male
Status Offline
(win2000)
Start -> Run -> cmd
it always goes to the directory C:\documents and settings\Administor\

How can I change it to the current directory?
For example, if I'm currently in directory F:
then when I run -cmd
how can I make it go directly to F:

Or how can I get the current directory in a batch file?
Floor 2 Posted 2003-11-30 00:00 ·  中国 北京 科技网
银牌会员
★★★
颓废青年
Credits 2,265
Posts 721
Joined 2003-05-12 00:00
23-year member
UID 2032
Gender Male
Status Offline
There is a tool in Super Rabbit called "DOS here"
Floor 3 Posted 2003-12-01 00:00 ·  中国 上海 杨浦区 电信
初级用户
Credits 114
Posts 3
Joined 2003-10-19 00:00
22-year member
UID 11514
Gender Male
Status Offline
The key is that I don't want to use Rabbit
Floor 4 Posted 2003-12-01 00:00 ·  中国 北京 科技网
银牌会员
★★★
颓废青年
Credits 2,265
Posts 721
Joined 2003-05-12 00:00
23-year member
UID 2032
Gender Male
Status Offline
Edit the registry.
Forum Jump: