| View previous topic :: View next topic |
| Author |
Message |
Tdk161 Valued Contributor


Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Wed Oct 06, 2010 3:37 pm Post subject: I need information, please help [SOLVED] |
|
|
Hi guyz,
anyone know where is stored the folder's name and relative path of "recycledbin" folder in the Windows Xp/Seven?
Many tnx in advance for any info
Cheers
Last edited by Tdk161 on Sat Oct 09, 2010 9:26 am; edited 2 times in total |
|
| Back to top |
|
 |
bornsoft Contributor

Joined: 19 Feb 2009 Posts: 113 Location: Germany
|
Posted: Thu Oct 07, 2010 12:38 am Post subject: |
|
|
Hello Tdk,
I'd like to help you, but I do not really understand what you're looking for.
On my XP machine there is a folder "RECYCLER" on every windows-partition, where the system stores all that's marked for deletion. Turn on in Explorer "show hidden and system files", then you will see them.
Can't test on Win7 at the moment.
bornsoft
. |
|
| Back to top |
|
 |
Tdk161 Valued Contributor


Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Thu Oct 07, 2010 10:27 am Post subject: |
|
|
Hi bornsoft,
thank you maybe I don't explain well what I need
I know that texists another recycle bin folder under application data,
one for any user : recyler.bin.usersid
how I can found the user sid?
Thankyou again
Cheers |
|
| Back to top |
|
 |
bornsoft Contributor

Joined: 19 Feb 2009 Posts: 113 Location: Germany
|
Posted: Thu Oct 07, 2010 12:01 pm Post subject: |
|
|
Sorry, not on my system (XP SP3) under Application Data.
The User's shell folders can be found in registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
Under
HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider
you can find the Users profile id as a subkey.
This is the number which is used as sub-folder in <Drive>:\RECYCLER to store deleted files.
I doubt this is really helpful for you. If you'd tell what you're trying to do, maybe I could help you better.
bornsoft |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Thu Oct 07, 2010 7:18 pm Post subject: |
|
|
I can only point you to the Windows api method, I don't know how to do it in VDS, as I mostly use delphi and c# now; but I assume you can load windows dll's to do this.
Use the windows api SHGetSpecialFolderPath function passing the CSIDL_BITBUCKET parameter in for the csidl to get the recycle bin location.
http://msdn.microsoft.com/en-us/library/bb762204(VS.85).aspx
You can get many other folders this way as well, here is the list of csidl's: http://msdn.microsoft.com/en-us/library/bb762494(v=VS.85).aspx |
|
| Back to top |
|
 |
Tdk161 Valued Contributor


Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Fri Oct 08, 2010 1:06 pm Post subject: |
|
|
Hi to all,
I solved .
many many tnx to all
byez |
|
| Back to top |
|
 |
|