Quantcast
Channel: How can I prevent a folder from being inadvertently deleted by myself? - Super User
Viewing all articles
Browse latest Browse all 8

Answer by Michael Becker for How can I prevent a folder from being inadvertently deleted by myself?

$
0
0

There is a better solution to your problem: move the folder to a more appropriate place (e.g. %USERPROFILE%\Documents)

If you must have access to the folder from the Desktop, you can always create a shortcut. This ensures that while you might accidentally delete the shortcut, you never actually delete the folder or its precious contents themselves.

If other applications depend on this folder being on the Desktop, you could create a symbolic link with the "mklink" command. Since symbolic links are handled at the file system level (while shortcuts are actual files that simply point to another location), there should not be any compatibility issues with programs that try to use this type of "shortcut" in paths.


Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles



Latest Images