Hi,
I’ve tried everything I could think of to delete a file on my desktop. It’s giving errors everytime I sync this machine with others. What can I do?
Background: I tried to download the older version of Autohotkey and our virus software prevented it. So I had the bright idea of renaming it with a doc ending and trying to fool the corporate virus software. That got the exe file to the desktop, but the virus software locked it down. I confessed my sins to the IT department. Our IT guy says he’s granted me privileges over the file from the virus software, so I can delete it, but Windows disagrees. My latest attempt was to try Windows Powershell as administrator. I’m getting a rights error.
Am I using the right command? I used:
Remove-Item ‘c:\Users\John\desktop\AutoHotkey_1.1.37.02_setup.doc’ -Force
Anything else I could try? Thank you.