【发布时间】:2016-07-22 13:40:53
【问题描述】:
我正在关注this guide 以删除 Steam 云配置文件,我必须关闭一个文件夹:[Steam\userdata\95925904\381210\remote]。每当我尝试 clc 时,都会收到拒绝访问错误。
这是错误的图片 - 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
【问题讨论】:
-
请不要将图片发布到错误消息中。请以纯文本形式复制错误,然后粘贴到您的问题中。
-
这是一个访问/权限的事情。一方面,我很惊讶您的“程序文件”目录没有空间,但这不一定是坏事或不可能的。 您确定 Steam 已关闭,当您尝试运行此程序时?它可能对文件有一个打开的锁,以防止在运行时访问。
标签: powershell steam