forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


I need information, please help [SOLVED]

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Wed Oct 06, 2010 3:37 pm    Post subject: I need information, please help [SOLVED] Reply with quote

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
View user's profile Send private message Send e-mail
bornsoft
Contributor
Contributor


Joined: 19 Feb 2009
Posts: 113
Location: Germany

PostPosted: Thu Oct 07, 2010 12:38 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Thu Oct 07, 2010 10:27 am    Post subject: Reply with quote

Hi bornsoft, Smile

thank you maybe I don't explain well what I need Embarassed
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
View user's profile Send private message Send e-mail
bornsoft
Contributor
Contributor


Joined: 19 Feb 2009
Posts: 113
Location: Germany

PostPosted: Thu Oct 07, 2010 12:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Thu Oct 07, 2010 7:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Fri Oct 08, 2010 1:06 pm    Post subject: Reply with quote

Hi to all,

I solved .

many many tnx to all

byez
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group