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 

Fileremovedir, how to use Recycle bin ?

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



Joined: 10 Jul 2007
Posts: 23

PostPosted: Mon Aug 13, 2007 8:12 pm    Post subject: Fileremovedir, how to use Recycle bin ? Reply with quote

Hi, I have been testing out some script, and accidently deleted an entire folder, the helpfile is really scarse concerning warning, I hope the next helpfile will include some warnings or write dangerous functions/switches in RED color.

Nowhere in the helpfile is it stated that fileremovedir DOES NOT use the recycle bin Confused

Is there any safer option than fileremovedir, which will delete directories to the recyclebin ?

TIA!
Back to top
View user's profile Send private message
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Mon Aug 13, 2007 8:19 pm    Post subject: Reply with quote

FileRecycle should do it

the normal commands for removing directories in windows do not use the recycle bin, and do not carry warnings.
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
SKAN



Joined: 26 Dec 2005
Posts: 5880

PostPosted: Mon Aug 13, 2007 9:25 pm    Post subject: Re: Fileremovedir, how to use Recycle bin ? Reply with quote

Smikkel wrote:
Hi, I have been testing out some script, and accidently deleted an entire folder


So sad! Sad

Quote:
I hope the next helpfile will include some warnings or write dangerous functions/switches in RED color.


I second it.

Smile
Back to top
View user's profile Send private message
Smikkel



Joined: 10 Jul 2007
Posts: 23

PostPosted: Mon Aug 13, 2007 11:18 pm    Post subject: Reply with quote

Well, I tried the FileRecycle method. Guess what ? Folder gone.... Not even in the Recycle Bin !
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 5880

PostPosted: Mon Aug 13, 2007 11:33 pm    Post subject: Reply with quote

Smikkel wrote:
Well, I tried the FileRecycle method. Guess what ? Folder gone.... Not even in the Recycle Bin !


I am not able to reproduce the effect. FileRecycle moves the an entire folder to Recycle bin for me. Rolling Eyes

Edit: Are you sure your Recycle bin settings are set properly ?
Back to top
View user's profile Send private message
Andreone



Joined: 20 Jul 2007
Posts: 257
Location: Paris, France

PostPosted: Tue Aug 14, 2007 11:53 am    Post subject: Re: Fileremovedir, how to use Recycle bin ? Reply with quote

Smikkel wrote:
..., and accidently deleted an entire folder, ...

There're some free softwares that can help you recover files & folders that have been deleted.
Check out http://www.recuva.com/ for example.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   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