|
现在关于DOS命令详细讲解的书籍已经难找了。
现告诉大家如何在一分钟内自己制作一套DOS命令集。只要你按下面的方法一步一步做:
第一步:新建一个空目录,取名为Doshelp
第二步:在Doshelp目录下新建两个文本文档 1.txt 和 2.txt
第三步:将下面的代码复制到 2.txt 里面,
@echo off
copy 1.txt DOS命令大全.txt
help>>DOS命令大全.txt
copy 1.txt attrib.txt
help attrib>>attrib.txt
copy 1.txt break.txt
help break>>break.txt
copy 1.txt call.txt
help call>>call.txt
copy 1.txt cd.txt
help cd>>cd.txt
copy 1.txt chcp.txt
help chcp>>chcp.txt
copy 1.txt chdir.txt
help chdir>>chdir.txt
copy 1.txt chkdsk.txt
help chkdsk>>chkdsk.txt
copy 1.txt cls.txt
help cls>>cls.txt
copy 1.txt cmd.txt
help cmd>>cmd.txt
copy 1.txt color.txt
help color>>color.txt
copy 1.txt comp.txt
help comp>>comp.txt
copy 1.txt copy.txt
help copy>>copy.txt
copy 1.txt date.txt
help date>>date.txt
copy 1.txt del.txt
help del>>del.txt
copy 1.txt dir.txt
help dir>>dir.txt
copy 1.txt diskcopy.txt
help diskcopy>>diskcopy.txt
copy 1.txt doskey.txt
help doskey>>doskey.txt
copy 1.txt echo.txt
help echo>>echo.txt
copy 1.txt endlocal.txt
help endlocal>>endlocal.txt
copy 1.txt fc.txt
help fc>>fc.txt
copy 1.txt findstr.txt
help findstr>>findstr.txt
copy 1.txt for.txt
help for>>for.txt
copy 1.txt format.txt
help format>>format.txt
copy 1.txt ftype.txt
help ftype>>ftype.txt
copy 1.txt goto.txt
help goto>>goto.txt
copy 1.txt if.txt
help if>>if.txt
copy 1.txt md.txt
help md>>md.txt
copy 1.txt mkdir.txt
help mkdir>>mkdir.txt
copy 1.txt mode.txt
help mode>>mode.txt
copy 1.txt more.txt
help more>>more.txt
copy 1.txt move.txt
help move>>move.txt
copy 1.txt path.txt
help path>>path.txt
copy 1.txt print.txt
help print>>print.txt
copy 1.txt prompt.txt
help prompt>>prompt.txt
copy 1.txt rd.txt
help rd>>rd.txt
copy 1.txt ren.txt
help ren>>ren.txt
copy 1.txt rename.txt
help rename>>rename.txt
copy 1.txt replace.txt
help replace>>replace.txt
copy 1.txt rmdir.txt
help rmdir>>rmdir.txt
copy 1.txt set.txt
help set>>set.txt
copy 1.txt setlocal.txt
help setlocal>>setlocal.txt
copy 1.txt shift.txt
help shift>>shift.txt
copy 1.txt sort.txt
help sort>>sort.txt
copy 1.txt start.txt
help start>>start.txt
copy 1.txt subst.txt
help subst>>subst.txt
copy 1.txt time.txt
help time>>time.txt
copy 1.txt title.txt
help title>>title.txt
copy 1.txt tree.txt
help tree>>tree.txt
copy 1.txt type.txt
help type>>type.txt
copy 1.txt xcopy.txt
help xcopy>>xcopy.txt
echo the program is be end!
echo on
第四步:将 2.txt 改名为 2.bat
(也就是一个批处理文件)
第五步:双击运行2.bat文件,大功告成!
几秒钟后,你会发现这个目录里已经多了几十个文件,名字为 if.txt ,for.txt, format.txt......之类的文件,这些就是你的DOS命令帮助大全了,怎么样?看看里面的内容吧,看看讲解详不详细呢。。。 |
|