AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

delete file within recycle bin

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
edu



Joined: 12 Oct 2006
Posts: 99
Location: Canada

PostPosted: Wed Nov 19, 2008 7:32 pm    Post subject: delete file within recycle bin Reply with quote

Hello! Yesterday I tried this script and nothing changed in the Recycle bin:
Code:
FileDelete, ::{645ff040-5081-101b-9f08-00aa002f954e}\*.tmp


Any idea?
_________________
The best things of life are free.
Back to top
View user's profile Send private message
BoBo²
Guest





PostPosted: Wed Nov 19, 2008 7:51 pm    Post subject: Reply with quote

wrong syntax
Back to top
edu



Joined: 12 Oct 2006
Posts: 99
Location: Canada

PostPosted: Wed Nov 19, 2008 9:23 pm    Post subject: Reply with quote

Where specifically?
I just copied and pasted the code for recycle bin from the help.
and the syntax for FileDelete is
FileDelete, Pattern

Right?

In a computer connected to a server, does it mean we have more than one recycle bin? Maybe that's the problem?
_________________
The best things of life are free.
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 4652
Location: AHK Forum

PostPosted: Wed Nov 19, 2008 10:58 pm    Post subject: Reply with quote

This will display all items in Recycle bin of all drives in XP, but file names are different to original file.
Code:
Loop, 26
{
   Loop,% Chr(A_Index+96)":\RECYCLER\*.*",0,1
      MsgBox % A_LoopFileLongPath
}

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
edu



Joined: 12 Oct 2006
Posts: 99
Location: Canada

PostPosted: Thu Nov 20, 2008 3:54 pm    Post subject: Reply with quote

Thank you! That solved the problem
_________________
The best things of life are free.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group