How to protect the desktop icons from being deleted???
Hi, guys,
How can I detect by a program that a user is trying to delete an icon on the desktop, and forbid him doing so by giving him a warning,
and resuming the tesktop to the original.
Re: How to protect the desktop icons from being deleted???
I think the icons you are concerned about are the result of shortcuts being in the windows\desktop directory (a little more complicated if you have multiple profiles on the computer). If the shortcut files have the read-only bit set, that might accomplish what you are trying to do. I'd just do it from dos with ATTRIB or CHMOD
Bookmarks