Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move Files to Recycle Bin...

Status
Not open for further replies.

dodgyone

Technical User
Jan 26, 2001
431
GB
All of the code I have ever found for moving files to the recycle bin has a confirm box that comes up... is there any way of disabling the confirmation box and just send the files straight to the recycle bin?


Thanks....
 
Have you tried calling SHGetFolderPath with a CSIDL of "CSIDL_BITBUCKET" to find out what the path to the recycle bin is, then do a filesystemobject MoveFile call on it?

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top