檢視次數:

使用者可以透過使用 Windows PowerShell來刪除"_invalid"尾碼和還原這些檔的名稱。

要恢復OSCE安裝路徑下PCCSRV 資料夾與其子資料夾 中的不正確檔案名,請於OSCE 伺服器上執行以下操作:

1.開啟 Windows PowerShell。開始>所有程式>附屬應用程式>Windows PowerShell

2.對Windows PowerShell點滑鼠右鍵,選擇「以系統管理員身分執行」。

3.在 Windows PowerShell 視窗中,將目前的目錄更改到...\PCCSRV 資料夾中。

4.輸入以下命令:

Get-ChildItem -Recurse -Include *_invalid | Rename-Item -NewName { $_.name -replace "_invalid","" }

5.關閉 Windows PowerShell。

6.檢查 PCCSRV 資料夾中不正確的檔案名稱是否修正。