9/12/2008

Bat : The script of dos command.



cmd -> help ( command /? )
@echo off : Don't show the command ( Ex : C:>_ )
echo : print the string
call : connect other bat
copy : merge the file
xcopy /y : let a.file copy to b.file
rem : comment
:: : comment
ren : rename
type : print the context of file
> : write into the file ( Clear the orginal file context )
>> : write into the file ( Add to the end )
goto : ( Ex : goto test :test echo Good! )
md : create the new folder
set : set var to use

p.s.
1. 寫code寫到頭暈...bat檔也有語法怕了吧...
2. 新Ipod nano看起來好可口...敗家選項又+1...

No comments: