
CODE: [Copy to clipboard](不管后面输入多少个参数,通过“换档”,就全部被处理了)rem mycopy.bat copies any number of files to a directory.
rem the command is mycopy dir files
set todir=%1
:one
shift
if "%1"=="" goto two
copy %1 %todir%
goto one
:two
set todir=
echo all done
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |