电脑爱好者论坛's Archiver

zz00 发表于 2007-2-27 16:11

计算机英语:DOS命令

来源: [url]http://ite.csai.cn/os/200702070911161002.htm[/url]
                      计算机英语:DOS命令
DOS Commands
DOS has two types of commands:internal commands and external commands.Internal commands are the simplest, most commonly used commands.When you list the directory on your DOS disk, you cannot see these commands because they are part of anile named COMMAND. COM.When you type internal commands, DOS performs them immediately. This is because they were loaded into your computer's memory when you started DOS.Following is a list of the DOS internal commands:
                     BREAK     DEL      MKDIR      DIR   PATH
                     SHIFT    CHDIR      ECHO     PAUSE    TIME
                      CLS      EXIT      PROMPT     TYPE    COPY
                      REM      SET       VERIFY     REN    DATE
                      RMDIR    VOL        VER       FOR    GOTO
 Any filename with an extension of.COM,.exe or.BAT is consIDEred an external command. For example, files such as FORMAT.EXE and DISKCOPY.EXE are external commands.And be-cause all external commands are also files, you can create new commands and add them to DOS.Pro-grams that you create either most languages(including assembly language) will be .EXE(executable) files.Note, however, that when you use an external command, you do not need to type its filename extension.
NOTE: If you have more than one external commands with the same names, DOS will run only one of them, according to the following order of precedence:.COM,.EXE,.BAT.
    To illustrate this precedence, suppose your disk contains the files FORMAT.EXE and FORMAT BAT If you were to type the external command FORMAT, DOS would always run the programFORMAT.EXE first, and not run the FORM Abbatial at all.
The following are external commands:

               APPEND      FDISK    RECOVER     ASSIGN     FIMD
               REPLACE    ATTRIB     FORMAT     RESTORE     BACKUP
               SELECT     CHKDSK     GPAPHICS     SHARE     COMMAND
                COMP       SUBST     DISKCOMP     JOIN      SORT
                LABEL      SYS      DISKCOMP      MKDE     TREE
                MORE       XCOPY    FASTOPEN     PRINT

翻译:
DOS命令
DOS有两类命令:内部命令和外部命令。内部命令是最常用最简单的命令。在列出DOS盘上的目录时,你看不到这些命令,因为它们是COMMAND.COM文件的一部分。当你送入内部命令时,DOS立即执行它们。这是因为在你启动DOS时它们已被装入了你的计算机内存中。下面列出了DOS的内部命令:
    任何带COM,.EXE,或.BAT扩展名的文件都被看成是外部命令。 例如:FORMAT.EXE和DISKCOPY . EXE这些文件都是外部命令。由于 所有的外部命令也都是文件,你司 以建立新的命令并把它们添加进DOS你用大多数语言(包括汇编语言)建立的程序都将是EXE可执行文件。然而,要注意当你使用一 条外部命令时,不必输入其文件扩展名。
     注意:如果你有不止一个同名 的外部命令,DOS只执行其中的一个。遵照下面的优先叫 序.COM,.EXE,.BAT.
现举例说明这个优先顺序,假 定你的磁盘上有FORMAT.EXE和FORMAT.BAT文件。若你送入外部 命令FORMAT,DOS总是首先执 行FORMAT. EXE程序而根本不执行FORMAT.BAT文件。
  下面是外部命令:

liuhuanxxwo 发表于 2007-3-12 13:13

ding  le  !!

elong38368 发表于 2007-3-15 19:51

谢谢楼主的分享!

GXGL 发表于 2007-5-4 17:25

看不懂  不过还是顶下

黑客007 发表于 2007-6-15 09:31

XIEXIE!!!

zshan 发表于 2007-6-24 14:44

虽然看不懂,但不是顶啦

好大一只菜鸟 发表于 2007-7-14 19:56

顶············

今天明天 发表于 2007-8-18 11:51

顶>>>>>>>

linjs20032003 发表于 2007-9-25 00:28

谢谢楼主的分享!

周君臣 发表于 2007-9-26 13:49

支持下!:lol:

余师傅维修 发表于 2007-12-5 19:20

看不懂  !还是顶下!!!!!

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.