I'm trying to do a very basic operation - that is - delete a shortcut that we do not want on the desktop. The file is located at C:\Users\Desktop\Username\File.lnk. When I try to do this scriptomatically, I get access denied. What do I need to do to accomplish this by script? Thanks, Tobias.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
I'm trying to do a very basic operation - that is - delete a shortcut that we do not want on the desktop. The file is located at C:\Users\Desktop\Username\File.lnk. When I try to do this scriptomatically, I get access denied. What do I need to do to accomplish this by script? Thanks, Tobias.
Share this post
Link to post
Share on other sites