| View previous topic :: View next topic |
| Author |
Message |
Smikkel
Joined: 10 Jul 2007 Posts: 23
|
Posted: Mon Aug 13, 2007 8:12 pm Post subject: Fileremovedir, how to use Recycle bin ? |
|
|
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
Is there any safer option than fileremovedir, which will delete directories to the recyclebin ?
TIA! |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Mon Aug 13, 2007 8:19 pm Post subject: |
|
|
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 |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5880
|
Posted: Mon Aug 13, 2007 9:25 pm Post subject: Re: Fileremovedir, how to use Recycle bin ? |
|
|
| Smikkel wrote: | | Hi, I have been testing out some script, and accidently deleted an entire folder |
So sad!
| Quote: | | I hope the next helpfile will include some warnings or write dangerous functions/switches in RED color. |
I second it.
 |
|
| Back to top |
|
 |
Smikkel
Joined: 10 Jul 2007 Posts: 23
|
Posted: Mon Aug 13, 2007 11:18 pm Post subject: |
|
|
| Well, I tried the FileRecycle method. Guess what ? Folder gone.... Not even in the Recycle Bin ! |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5880
|
Posted: Mon Aug 13, 2007 11:33 pm Post subject: |
|
|
| 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.
Edit: Are you sure your Recycle bin settings are set properly ? |
|
| Back to top |
|
 |
Andreone
Joined: 20 Jul 2007 Posts: 257 Location: Paris, France
|
Posted: Tue Aug 14, 2007 11:53 am Post subject: Re: Fileremovedir, how to use Recycle bin ? |
|
|
| 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 |
|
 |
|