Windows Powershell access to path denied

JcBK 0 Reputation points
2024-08-29T02:44:20.21+00:00

I am trying to delete some files using clc command
clc 'C:\Program Files (x86)\Steam\userdata....\4000*' (the .... is my ID number)
but the microsoft powershell is denying access to it, i am running it as admind and tried using execution policy but nothing worked
I really need help with this because its only way to trigger an conflict window in steam i really need

Windows for business | Windows Server | User experience | PowerShell
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 47,901 Reputation points
    2024-08-29T18:51:19.8+00:00

    "CLC" is an alias for the Clear-Content cmdlet. The Clear-Content cmdlet does not delete the file, it just removes the file contents.

    To remove a file, use the Remove-Item cmdlet.

    You should probably look for a forum devoted to Steam and ask your question there.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.