
[已解決]bat中如何轉義并實現如下代碼最后由 shootman2 于 -3-31 15:21@echo offsetlocal enabledelayedexpansionset deploy_cmd_file=d:appDeploy.txtecho off>%deploy_cmd_file%set fileList=d:WebContent_0328.zipset fileName=WebContent_0328.zipfor %%x in (cd /home/weblogic/bea put ^%fileList%^ ^%fileName%^ exit) do echo %%~x>>%deploy_cmd_file% 這段代碼調試有問題我想實現最后寫入到文件中的內容是這樣的cd /home/weblogic/beaput d:WebContent_0328.zip WebContent_0328.zip 要加上雙引號exit這具體該怎么實現呢?求大神幫助!!!

