What's the difference between SpecialFolder.Desktop and SpecialFolder.DesktopDirectory?

三世轮回 提交于 2019-11-27 19:59:30

A directory is a location in the file system. A folder is a location in the shell namespace. A directory is a kind of folder. A virtual folder is not necessarily backed by a directory. For example consider libraries or search folders.

The user's desktop directory is a location in the file system. The desktop folder merges that with virtual items like all users items, recycle bin, shortcut to documents folder etc.

The true answer is that those can be different especially width profiles on servers. The user might be running a desktop as from a fileshare, or have it on a local system... If redirected the OS normally doesnt inform other software that it has done that. But if you realy want to get there...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!