
我在嘗試自動化安裝 NewForma 時遇到了一個非常奇怪的問題。
下面是我在 bat 檔案中使用的行:
"\\bdc\deployment$\NewForma\NewformaProjectCenterOffice64Setup.exe" /s /v"/qn /log \\bdc\deployment$\NewForma\IT tool\log.log" /v"/qn NPCS_LOCATION=ABC-NFM"
它工作正常,但沒有建立日誌檔案。
我想知道是否是文法問題。
任何幫助將不勝感激。
答案1
我想到了!
"\\bdc\deployment$\NewForma\NewformaProjectCenterOffice64Setup.exe" /s /v"/log "\\bdc\deployment$\NewForma\IT tool\log.log" /qn NPCS_LOCATION=ABC-NFM"
透過結合日誌開關和設定的入口,就可以實現!
謝謝你的幫忙!