2016-07-22 84 views
-2

我正在關注this guide以刪除Steam雲配置文件,並且我必須clc一個文件夾:[Steam\userdata\95925904\381210\remote]。每當我嘗試clc時,我都會遇到拒絕訪問錯誤。無法使用PowerShell訪問路徑

以下是錯誤的圖片 - https://gyazo.com/cbab29f1daa2506b474683af42696ec1

我試圖打開PowerShell中以管理員的身份,並沒有幫助。這是錯誤:

Clear-Content : Access to the path "D:\ProgramFiles\other\Steam\userdata\95925904\381210\remote\ProfileSaves" is denied. 
At line:1 char:4 
+ clc <<<< D:\ProgramFiles\other\Steam\userdata\95925904\381210\remote\* 
+ CategoryInfo   :PremissionDenied: (D:\ProgramFiles...te\ProfileSaves:String) [Clear-Content], UnauthorizedAccessException 
+FullyQualifiedErrorId : ClearContentUnauthorizedAccessError,Microsoft.Powershell.Commands.ClearContentCommand 
+0

請不要張貼圖像的錯誤消息。請以純文本複製錯誤,並粘貼到您的問題中。 – gravity

+0

@gravity我做到了。 – Arthur42

+0

這是一個訪問/權限的事情。首先,我很驚訝你的「Program Files」目錄沒有空間,但這並不一定是壞的或不可能的。 *您是否確定Steam已關閉*,當您嘗試運行時?它有可能在文件上打開一個鎖,以防止在運行時訪問。 – gravity

回答

0

Oké,你有沒有試過手動?導航到文件夾,打開文件(在記事本或類似的東西),並清除內容?

只是嘗試從指南完成的步驟,如果一種方式不起作用嘗試其他方式做同樣的事情。嘗試瞭解該步驟的作用。

clc只是清除指定文件的內容。 https://technet.microsoft.com/en-us/library/hh849853.aspx

0

確保和蒸汽的所有實例運行停止那麼任何服務嘗試明確

clc -path "D:\ProgramFiles\other\Steam\userdata\95925904\381210\remote\*"