I see the file in my trash bin has the path as:
C:\Recycle bin\{3x-for-example-guid-4x}\file.txt
I would like to know how to get the real path, the one before it is transfered to the trashbin.
I see the file in my trash bin has the path as:
C:\Recycle bin\{3x-for-example-guid-4x}\file.txt
I would like to know how to get the real path, the one before it is transfered to the trashbin.
Raymond Chen has recently blogged about this here. The article uses COM and C++ to query information about an object in the recycle bin, including the original path - which I assume is what you mean by "real path".
See the answer in this post for how to read out the path. Also see How to restore files from recycle bin
The original link refers to a C++ article: How to programmatically use the Recycle Bin