Finding the Recycle Bin on a local NTFS drive

前端 未结 4 2065
我寻月下人不归
我寻月下人不归 2021-01-03 09:33

I\'m trying to write some simple code that will return the directory for the recycle bin on a local drive. Seems like it would be simple -- should be a thousand answers on

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-03 10:09

    In Win32, use SHGetSpecialFolderLocation. Pass CSIDL_BITBUCKET as the CDIL parameter.

提交回复
热议问题