Re: empty RECYCLE BIN without confirmation



rhXX,

The recycle bin uses API in order to empty it

I have attached to this post a console application that I have just built
especially for you. It works 100% perfecly & you can run from the command
line or just double-click it..

Its written in VB.NET 2003 & requires the .NET 1.1 Framework to be
installed, but later I will write a C++ version for Win32 which won't
require the framework.

Please feel free to use it as you wish or distribute it as long as I get the
credit for it.

Here's how to setup a newsgroup in Outlook Express so you can download the
zip file containing the console app for you:

http://www.microsoft.com/windows/ie/support/newsgroups/howto.mspx

I am please to be of help,

--
Newbie Coder
(It's just a name)

"rhXX" <rh00667@xxxxxxxxx> wrote in message
news:1175499420.657972.290590@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hi all,

how i can empty recycle bin without confirmation. i need a cmd line
for this to include in a schedule process.

tks in advance



begin 666 Recycle.zip
M4$L#!!0``@`(`/%;@C8,`\$^*0D````:```+````4F5C>6-L92YE>&7M6%UL
M'%<5/K.[MC?KQ+&3"%*J*I,Z(78:K]8_)&TVD'A__-,Z7L>[=M)2X8QW;^PA
MLSO+S#BQ*T0L(:2@2@6D2D"?*C5"JL2#):,0L:IB\00208! @E9"X0'1)WXJ
M*K44=?GNF=G=L;TAC9071.[L/?>><\\]?_?.N7?V[ O?IB 1A5"K5:);Y)8S
M=/^RBMIQX"<=]*,==P[>4B;N',PMZK9:MLP%2RNJ>:U4,AUU7JC64DG52VHJ
MDU6+9D%$=^V*'/)D3*6))I0@?>.=SI&:W+O4H;0KK40[R:TH'_<"J'7#NK@?
M<.TF:K1L5,#M!IG<R;]&6V^XW(#<\Y[#%\)-G+Q8-^'!"NSSBPL#'_/A44<L
M.]+NB.?7SH;=/A$7HY9MY<FS3?HN^3LV\X%\)FH)P\Q[ME[T9.W?QI?8:N;=
M7K<=\Z;\$TK7H$M!'RO0.J4^F-NM1XGVQH+T.+&,K@/O]V -6B.M^]KW*$_T
M0$7K9WN"$AZEQV,!>M'5VV6!N=P#$+'&Z[WOU'M_V-[K:8$4ZYT:^L?]AZ7T
M2,0**C6.H*334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xxxxxxxxxx
MX]/X7E!XK1R>6X*?AL_;S;9%49>9OHP;NT(3Z"_P#&E3&7Q6_9Y 6VX2]_(A
M^HEO&;(<PQOLU^ONS@*?]W(?7^8=5/O+1?J6\6S2/=]JL2K=U\=%7LLIWC$%
M[(X\[/+O@X>UABE>P\UZMJ[D_=9QC&4,\YZ6L9B''5+K@\KI\?U=I=2^> /_
MY9\TF1E75]U&/I($L+&Q(?^9XY_\@XX;^4B2! ^EQ"N5F.\4J,BR7L<E,CA8
M66LPKP]60(C5N.4(".Z,]DJ%F_7!N#?;F[@>7W/98Q"QC@Y/:*_$I<3*6GME
ML,*XJW\-/''6MD85MZS'H3'^$?B\XN&>N<"A(/Z!B[-DB5>AT+6)G6ROOKPN
MNW7\]D=KK%6JE?;=KC*^5G/D5G65G:IXCL2K'Y!G$>/MMZN>"14O7%6/X/G=
M#D+U>GVX)LP7\?AF]$%*M58V@KPE_HT3&/8=^#O1[KMN;<,."LHJ_V;X)+7&
M+^=*.:@'(/,T#L9KO.TVVNIJW;-=53MYE\L3.?#H&O6_5%3O/^.3CT+Q_UC^
M`U!+`0(4`!0``@`(`/%;@C8,`\$^*0D````:```+````````````( ``````
C``!296-Y8VQE+F5X95!+!08``````0`!`#D```!2"0``````
`
end

.



Relevant Pages

  • Re: sudden crash and now seems ok
    ... Have you tried to empty your temp file via your profile under Local ... empty your recycle bin and/or recycler. ... i went to bitdefender and ran the scan it came up ...
    (microsoft.public.windowsxp.general)
  • Re: Recycle Bin Will Not Empty
    ... Try to empty the Recycle Bin again. ... [[Specifies whether Windows repairs file-system errors found during disk ... the disk checking for the next time you restart your computer. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Recycle Bin Issue
    ... If you always take positive action to empty the recycle bin you see ... have to be set to run the selected cleanup options on startup. ... and then start the computer in Safe Mode (F8 after the ...
    (microsoft.public.windowsxp.basics)
  • Re: Deleted large file problem update. Weird.
    ... Empty the recycle bin even if the file was too large to put there. ... I've now found that my HDD space is restored when I uninstall ... > ANY program via Add/Remove programs. ...
    (microsoft.public.windowsxp.general)
  • Re: RECYCLE BIN: Cannot remove folder aux: The directory name is
    ... I now have an empty recycle bin again... ... MS-MVP Windows Shell/User ... I can list the offending directory using the command ...
    (microsoft.public.windowsxp.basics)