我在批处理文件中运行下面的代码,最后以notepad ++格式打开XML文件,现在我想搜索并替换文件的内容并复制原始文件......你能帮忙吗?
XCOPY "C:\Program Files (x86)\CAST\7.3\WARS\*.*war" "C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps"
net start "Tomcat7"
net start "CastStorageService2"
TIMEOUT /T 60
REM Open all the static content files
"C:\Program Files (x86)\Notepad++\notepad++.exe" "C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\CAST-AAD\META-INF\context.xml"