Jump to content
Sign in to follow this  

_EmptyRecycleBin UDF

Recommended Posts



i wrote this UDF to learn the use of DLL Call. It´s not very useful but a good example. :D

It works, but there is one bug, option 1 won´t work and if i choose 0 it asks if i want to delete a desktop.ini in my Recycle bin. :D


; Function Name: _EmptyRecycleBin($flag)
; Description: Use this function to empty the recycle bin.
; Parameter(s): $flag. Normal=0 No Confirmation=1 No Progress UI=2 Nosound=4
; Requirement(s): Include ERecycleBin.au3
; Return Value(s): none.
; Author(s): Matrix112 <ch.krogmann@gmx.de>
Func _EmptyRecycleBin ($flag)
$path = @HomeDrive


#include <ERecycleBin.au3>

$empty = _EmptyRecycleBin (0)
Edited by Matrix112

Share this post

Link to post
Share on other sites
Daniel W.

Nice for learning but

isn't this the same:



Edited by Daniel W.

--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.