for %%d in (text.txt, test1.txt)
if c:\desktop\deploy_pkg\bin\%%d exist (
del C:\jboss-5.1.0.GA\bin\text.txt.bak
del C:\jboss-5.1.0.GA\bin\text1.txt.bak
ren C:\jboss-5.1.0.GA\bin\text.txt text.txt.bak
ren C:\jboss-5.1.0.GA\bin\text.txt text1.txt.bak
copy "C:\Documents and Settings\deployment\Desktop\deploy_pkg\bin\text.txt" "C:\jboss-5.1.0.GA\bin"
copy "C:\Documents and Settings\deployment\Desktop\deploy_pkg\bin\text1.txt" "C:\jboss-5.1.0.GA\bin"
)
)
pause
これは機能していません...何か提案はありますか?