中国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-15 14:57
47,813 topics / 349,903 posts / today 1 new / 48,257 members
DOS疑难解答 & 问题讨论 (解答室) » [Help] !!!
Printable Version  1,283 / 6
Floor1 dongtongjing Posted 2003-03-03 00:00
初级用户 Posts 31 Credits 184


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.
Floor2 laoje Posted 2003-03-03 00:00
中级用户 Posts 36 Credits 223
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.
Floor3 imp Posted 2003-03-03 00:00
银牌会员 Posts 309 Credits 1,001
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
Floor4 laoje Posted 2003-03-03 00:00
中级用户 Posts 36 Credits 223
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.)
Floor5 imp Posted 2003-03-03 00:00
银牌会员 Posts 309 Credits 1,001
Change it if you want, it's just personal preference
Floor6 dongtongjing Posted 2003-03-03 00:00
初级用户 Posts 31 Credits 184
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.
Floor7 Wengier Posted 2003-03-03 00:00
系统支持 Posts 10,521 Credits 27,736
I'm from Wuhan too, but I'm not there now.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023