DOS命令

      CS&T 2006-10-25 9:11

ms-DOS  disk operating 


运行  cmd

 
命令行界面

  命令动词  参数1  参数2  /辅助参数

 

当前目录

 

cd  \
c:\>  dir   
c:\>  dir     /p
c:\>  dir     /w
c:\>  help    dir
c:\>  dir   d: 

 


dir  :列出文件

date :修改日期

time :修改时间

md :创建子目录
d:\>e:
e:\>md   abc
e:\>md   abc\ddd
e:\>tree
e:\>dir  abc
e:\>cd  abc


rd :  删除空的子目录
e:\>rd  abc\ddd
e:\>dir abc
e:\>rd  abc

 


cd  :  切换当前目录   \    ..  当前目录的父目录

cd  \
cd  ..
e:\>   cd  ..

 

del: 删除文件cd\
del   file

 


copy   :复制文件
e:\>  copy   file    newfile


attrib  : 修改文件属性

e:\>  attrib   +h    file
e:\>dir 
e:\>  attrib   -h    file
e:\>dir 
e:\>  attrib   +r    file
e:\>dir 
e:\>  attrib   +s    file
e:\>dir 
e:\>  attrib   +a    file
e:\>dir 

 
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commenttime}{commentauthor}

{CommentUrl}
{commentcontent}