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-25 16:50
Original Poster Posted 2003-03-03 00:00 ·  中国 湖北 武汉 江夏区 电信
初级用户
Credits 184
Posts 31
Joined 2003-03-03 00:00
23-year member
UID 1030
Gender Male
Status Offline


the drive specified by drive letter D:.
I don't quite understand the part “the drive specified by drive letter D:”, please help me out.
2. The command MSDOS.SYS>PROMPT OK&g
gives this result: OK>
What is the purpose of this? Why change the current directory to “OK>”? I really don't understand, please help me out.
Floor 2 Posted 2003-03-03 00:00 ·  中国 广东 佛山 顺德区 电信
中级用户
Credits 223
Posts 36
Joined 2003-01-08 00:00
23-year member
UID 707
Gender Male
Status Offline
From using sys /?, there is no such thing as what you said, “the drive specified by drive letter d:”.
Instead it is as follows:
Copies MS-DOS system files and command interpreter to a disk you specify.

SYS drive2:

Specifies the location of the system files.
drive2: Specifies the drive the files are to be copied to.
For example: you just need sys a:\ c: and you can make the disk into a DOS boot disk.
Floor 3 Posted 2003-03-03 00:00 ·  中国 浙江 宁波 联通
银牌会员
★★★
Credits 1,001
Posts 309
Joined 2002-11-19 00:00
23-year member
UID 283
Gender Male
Status Offline
prompt   sets the prompt

[When to use it]  When you are tired of the c:\> prompt, or if you want your prompt to be different from others,
        give it a try. It's a very interesting DOS command, and it can display the time and date at any time.

[Usage]  prompt $p$g uses the current directory name and the > sign as the prompt; this is the most commonly used prompt

        prompt $t means time      prompt $d means date

        prompt $$ means $        prompt $q means =

        prompt $v means the current version    prompt $l means prompt wang$g uses wang> as the prompt

        WANG>prompt $t$d$g  uses time, date, and the > sign as the prompt

        0:01:07.77Thu 08-29-1996>prompt $p$g

        C:\DOS>

Note: excerpted from a Hongen tutorial
Floor 4 Posted 2003-03-03 00:00 ·  中国 广东 佛山 顺德区 电信
中级用户
Credits 223
Posts 36
Joined 2003-01-08 00:00
23-year member
UID 707
Gender Male
Status Offline
The command C:\>PROMPT OK&g you mentioned should be C:\>PROMPT OK$g, right?
Its function is just to always display the path name you are in as ok>
Personally I don't think it has any benefit. (Just my personal opinion.)
Floor 5 Posted 2003-03-03 00:00 ·  中国 浙江 宁波 联通
银牌会员
★★★
Credits 1,001
Posts 309
Joined 2002-11-19 00:00
23-year member
UID 283
Gender Male
Status Offline
Change it if you want, it's just personal preference
Floor 6 Posted 2003-03-03 00:00 ·  中国 湖北 武汉 江夏区 电信
初级用户
Credits 184
Posts 31
Joined 2003-03-03 00:00
23-year member
UID 1030
Gender Male
Status Offline
Many thanks for everyone's guidance, I understand a lot more now.
When you have time later, let's chat more. My QQ is 58280444, from Wuhan.
It's hard being away from home, thanks everyone for looking out for me.
Floor 7 Posted 2003-03-03 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
I'm from Wuhan too, but I'm not there now.
Wengier - 新DOS时代

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

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

Forum Jump: