⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 md and rd.htm

📁 可以对DOS操作进行详细的了解
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0049)http://www.hongen.com/pc/newer/os/dos/dos0203.htm -->
<HTML><HEAD><TITLE>洪恩在线 - DOS</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="md and rd.files/home.css" rel=stylesheet><LINK 
href="md and rd.files/tools.css" rel=stylesheet>
<META 
content=电脑,乐园,交互,教程,操作系统,DOS,命令,dir,cd,md,rd,copy,del,ren,type,format,diskcopy,deltree,mem,chkdsk,sys,path,edit 
name=keywords>
<META content="MSHTML 6.00.2800.1561" name=GENERATOR></HEAD>
<BODY text=black bgColor=white leftMargin=0 topMargin=10 marginheight="10" 
marginwidth="0"><!--顶部开始-->
<SCRIPT language=Javascript src="md and rd.files/head.js"></SCRIPT>
<!--顶部结束-->
<TABLE height=20 cellSpacing=0 cellPadding=0 width=760 align=center border=0>
  <TBODY>
  <TR>
    <TD class=p1 align=left bgColor=#e8e8e8 height=19><IMG height=8 
      src="md and rd.files/blank.gif" width=12><FONT 
      color=#ff9966>当前位置</FONT>:<A class=under 
      href="http://www.hongen.com/default.htm">洪恩在线</A> -&gt; <A class=under 
      href="http://www.hongen.com/pc/index.htm">电脑乐园</A> -&gt; 
DOS</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
  <TBODY>
  <TR>
    <TD height=15></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
  <TBODY>
  <TR>
    <TD class=p1 style="COLOR: blue" vAlign=top align=left width=145 
    bgColor=#e8e8e8><IMG height=10 src="md and rd.files/blank.gif" width=1 
      align=center><BR>
      <TABLE borderColor=#f8ac0e height=20 cellSpacing=0 cellPadding=0 width=128 
      align=left border=0>
        <TBODY>
        <TR vAlign=center bgColor=#000099>
          <TD class=p2 align=middle width=115><B><FONT 
            color=#ffffff>DOS</FONT></B></TD>
          <TD width=13 bgColor=#e8e8e8 height=20><IMG height=20 
            src="md and rd.files/title_00.gif" width=13></TD></TR></TBODY></TABLE>
      <P style="LINE-HEIGHT: 17pt" align=left>&nbsp;</P>
      <P style="LINE-HEIGHT: 17pt"> 一 <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0101.htm">DOS概述及入门</A></SPAN><BR> 二 
      <SPAN class=p1>DOS的常用命令</SPAN><BR> ※ <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0201.htm">dir</A></SPAN><BR> ※ 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0202.htm">cd</A></SPAN><BR> ※ 
      <SPAN class=p1>md和rd</SPAN><BR> ※ <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0204.htm">copy</A></SPAN><BR> ※ 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0205.htm">del</A></SPAN><BR> ※ 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0206.htm">ren和type</A></SPAN><BR> ※ 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0207.htm">format</A></SPAN><BR> ※ 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0208.htm">diskcopy</A></SPAN><BR> ※ 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0209.htm">deltree和mem</A></SPAN><BR> ※ 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0210.htm">chkdsk</A></SPAN><BR> ※ 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0211.htm">sys</A></SPAN><BR> ※ 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0212.htm">path</A></SPAN><BR> ※ 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0213.htm">edit</A></SPAN><BR> 三 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0301.htm">DOS命令集锦</A></SPAN><BR> 四 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0401.htm">使用批处理文件</A></SPAN><BR> 五 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0501.htm">如何进行系统配置</A></SPAN><BR> 六 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0601.htm">出错提示与对策</A></SPAN><BR> 七 
      <SPAN class=p1><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0701.htm">其它</A></SPAN> 
      <P style="LINE-HEIGHT: 17pt" align=center><BR><BR>
      <P class=p1 align=center><A 
      href="http://www.hongen.com/pc/bin/msg.pl?file_id=dos_1" target=_blank 
      traget="_black"><IMG height=54 alt=请您留言 src="md and rd.files/message.gif" 
      width=64 border=0><BR>谈谈您的看法</A> <BR>
      <SCRIPT language=javascript>speak_num="za"</SCRIPT>

      <SCRIPT language=javascript src=""></SCRIPT>

      <SCRIPT language=javascript>var num=0if (!isNaN(speak_num)){	num=speak_num;}else{	num=0}document.writeln ("已有")document.writeln (num)document.writeln ("条发言")</SCRIPT>
      </P>
      <P style="LINE-HEIGHT: 17pt" align=center><BR>   <BR>   </P></TD>
    <TD width=1 bgColor=#0586d7 height=304><IMG height=1 
      src="md and rd.files/blank.gif" width=1> </TD>
    <TD vAlign=top width=614 background="md and rd.files/line.gif" 
    bgColor=#ffffff>
      <TABLE width="95%" align=center border=0>
        <TBODY>
        <TR>
          <TD>
            <P align=center><BR><B class=p3>DOS 常用命令</B></P>
            <P>                                ——md和rd   
            <DIV class=p2 style="LINE-HEIGHT: 17pt">
            <P>  不知你想过没有,磁盘上的这些目录都是哪来的呢?其实,这些目录都是我们自己建立的,我们建立这些目录的目的,就是为了分类组织文件,如果我们有一类新的文件,就需要再建立一个新的目录。今天我们要学的两个命令就是进行目录操作的,它们是md(make 
            directory--创建目录)和rd(remove directory--删除目录)。</P>
            <P>  这两个命令很简单,比如我叫小博士,我要把自己的文件都放在一个目录中,我就可以输入<FONT 
            color=#0000ff>md xbs</FONT>,建立我的目录。这时你用dir命令看一看,就会发现根目录下多了一个目录XBS。</P>
            <P align=center><IMG height=252 alt=显示根目录 
            src="md and rd.files/dos0206.gif" width=419></P>
            <P>  你不妨练习一下,建立一个名字叫xyz的目录,再输入dir,是不是可以看到xyz目录啦,如果你看到了,你就成功了(呵呵,这课也就完成一半了)。现在让我们到这个目录中去,键入<FONT 
            color=#0000ff>cd xyz</FONT>,注意,提示符是不是变了。好,输入<FONT 
            color=#0000ff>dir</FONT>命令。很奇怪是吧?我们刚刚建立了这个目录,按理说,这个目录中应该什么都没有的。其实,不管你建立什么目录,这个. 和 .. 都会在目录中出现,因为<FONT 
            color=#0000ff>.</FONT> 代表此目录本身,<FONT 
            color=#0000ff>..</FONT> 代表此目录的上一层目录。显然,一个目录既然已经存在了,就不可能没有本身,也不可能没有上一层目录。(..你使用过的,记得吗?就是cd ..,用来返回上一层目录)。</P>
            <P align=center><IMG height=189 alt=显示xyz目录 
            src="md and rd.files/dos0207.gif" width=419></P>
            <P>  再练习一次,在xyz目录下建立一个目录:abc,(正确方法是输入<FONT 
            color=#0000ff>md abc</FONT>)用 dir命令看一下,abc目录显示出来,就说明你已经成功学会建目录了。</P>
            <P>  既然能建立目录,当然也就可以把它删除,rd命令就是干这活的。比如想把abc目录删除,输入<FONT 
            color=#0000ff>rd abc</FONT>就可以了。不信再用dir命令看看,abc目录是不是没了。是不是很简单,要删除当前目录下的某个子目录,输入rd空格加上子目录名就可以完成任务。 
            </P>
            <P>  不过使用RD命令可得注意几点问题(要不然你删一辈子也别想删除某些目录),好好看看下面几点吧:</P>
            <P align=center><IMG height=253 alt=rd命令注意事项 
            src="md and rd.files/dos0208.gif" width=419> </P>
            <P>  现在你再练习一次(这次你成功了,就胜利出师了,可以安心学下一课了),如果想删除你现在所在的xyz目录,该怎么办呢?</P>
            <P>  正确答案:输入<FONT color=#0000ff>cd ..</FONT>命令退回到上一层目录,再输入<FONT 
            color=#0000ff>rd xyz</FONT>将xyz目录删除。</P>
            <P>   </P></DIV></TD></TR></TBODY></TABLE>
      <P align=center>&nbsp;</P>
      <P class=p1 align=center><A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0202.htm">上一节</A> &nbsp;&nbsp;<A 
      href="http://www.hongen.com/pc/newer/os/dos/dos0204.htm">下一节</A></P>
      <P class=p2 align=center><A 
      href="http://www.hongen.com/pc/bin/msg.pl?file_id=dos_1" 
      target=_blank><IMG height=54 alt=请您留言 src="md and rd.files/message.gif" 
      width=64 border=0><BR>谈谈您的看法</A>
      <SCRIPT language=javascript>speak_num="za"</SCRIPT>

      <SCRIPT language=javascript src=""></SCRIPT>

      <SCRIPT language=javascript>var num=0if (!isNaN(speak_num)){	num=speak_num;}else{	num=0}document.writeln ("已有")document.writeln (num)document.writeln ("条发言")</SCRIPT>
       </P>
      <P>&nbsp;</P></TD></TR></TBODY></TABLE><!--底部开始-->
<SCRIPT language=Javascript src="md and rd.files/foot.js"></SCRIPT>
<!--底部结束--></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -