IT Programmer
金麟豈是池中物,一遇風雲始化龍; #################### 乘风破浪会有时,直挂云帆济沧海;

delete the file,you can see the document about del and rd
del
:delete
del [drive:][path:]
parameters:
/p before delete file ,will give you words
/f must del read only file
/s del all files from child tree
/q no voice envirment
/a with attributes:/r read only file
/s system file
/h hide file
/a save file

rd
:remove directory
cmd
rd [driver:][path:] enly del the empty file
parameters
/s must del ,and will give you some permission
/q in novoice enviorment,
the example:
rd c:\pack\temp
rd c:\pack\temp /s
rd c:\pack\temp /q /s

fc:
for example,there are two txt files test_1.txt and test_2.txt,compare test_1 with test_2,and put the different place into a new txt file ,named test.txt
fc test_1.txt test_2.txt > test.txt
now ,ok,you will see the result in test.txt file

posted on 2006-06-29 09:23  FollowIT  阅读(235)  评论(0编辑  收藏  举报