最近一兩週,Post Custom Command 出了問題。理論上在轉檔完成後應該會執行 Post Custom Command 參數裡描述的批次檔,但現在卻不像以前那樣運作。我並沒有更改設定檔或 MCEBuddy 的任何設定,而且這個批次檔手動執行時完全正常。是什麼地方變了,還是我哪裡設定錯了:
PostCustomCommandPath=C:\Users\jarre\Documents\MCEBuddy Post Custom Command.bat
PostCustomCommandParameters=
PostCustomCommandHangPeriod=15
PostCustomCommandCritical=false
路徑正確,批次檔本身也不需要任何參數。
編輯:
查看記錄檔後,發現突然出現「存取被拒」。該如何解決?
2018-06-11T19:47:36 MCEBuddy.AppWrapper.Base → Launching process c:\users\jarre\documents\mcebuddy post custom command.bat
2018-06-11T19:47:36 MCEBuddy.AppWrapper.Base → Process arguments
2018-06-11T19:47:36 MCEBuddy.AppWrapper.Base → UI Session Admin Process : False
2018-06-11T19:47:36 MCEBuddy.AppWrapper.Base → Setting process priority to Normal
2018-06-11T19:47:36 MCEBuddy.AppWrapper.Base → c:\users\jarre\documents>forfiles /P “G:\DVB Recordings in MP4” /M *.mp4 /C “cmd /c copy @file "H:\My Drive\MP4 Backup"”
2018-06-11T19:47:36 MCEBuddy.AppWrapper.Base → Access is denied.
2018-06-11T19:47:36 MCEBuddy.AppWrapper.Base → 0 file(s) copied.