in reply to Command To Empty Recycle Bin With Perl?
A Google search for “empty recycle bin from command line” leads to this: http://stackoverflow.com/questions/9238953/how-to-empty-recyclebin-through-command-prompt. The proposed solutions include:
rd /s %systemdrive%\$Recycle.bin.
recycle.exe, a utility available from http://ss64.net/westlake/xp/index.html.
Run these from Perl using backticks or system. Disclaimer: I haven’t tried the approaches suggested. Note the caveats to the first solution.
Hope that helps,
Update: I downloaded and unzipped Frank P. Westlake’s recycle utility. No malware, and it appears to work as advertised. (I’m running Windows 8.1.)
Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Command to Empty Recycle Bin with Perl?
by sphinxy09 (Initiate) on Jul 12, 2014 at 12:38 UTC | |
by Athanasius (Archbishop) on Jul 12, 2014 at 14:29 UTC |