Asp Posted June 10, 2009 Share Posted June 10, 2009 (edited) Is there a built-in command that I can use to empty the Recycle bin in Win2k?I'd like to add that to batch files I use to clean up crap and make room.If not, a simple third-party utility? Edited June 10, 2009 by Asp Link to comment Share on other sites More sharing options...
Colonel O'Neill Posted June 10, 2009 Share Posted June 10, 2009 (edited) The command line stuff to do that is:ATTRIB %systemdrive%\RECYCLER\* -R -S -H /S /DRD %systemdrive%\RECYCLER /S /QPut it in a batch file and you're good to go.EDIT: Sometimes RD won't do it's job, so to be safe:ATTRIB %systemdrive%\RECYCLER\* -R -S -H /S /DDEL %systemdrive%\RECYCLER\* /F /S /QRD %systemdrive%\RECYCLER /S /Q Edited June 10, 2009 by Colonel O'Neill Link to comment Share on other sites More sharing options...
dencorso Posted June 10, 2009 Share Posted June 10, 2009 You mean "RECYCLED", not "RECYCLER", of course!An easy alternative is NirSoft's free NIRCMD. At the command prompt or using Start -> Run, just type: NIRCMD.EXE emptybin <enter> Link to comment Share on other sites More sharing options...
Asp Posted June 11, 2009 Author Share Posted June 11, 2009 You mean "RECYCLED", not "RECYCLER", of course!An easy alternative is NirSoft's free NIRCMD. At the command prompt or using Start -> Run, just type: NIRCMD.EXE emptybin <enter>Thanks, that's simpler, especially as I have a silly number of partitions and so each one has its own recycle folder. Nircmd empties them all. Link to comment Share on other sites More sharing options...
Colonel O'Neill Posted June 11, 2009 Share Posted June 11, 2009 You mean "RECYCLED", not "RECYCLER", of course!An easy alternative is NirSoft's free NIRCMD. At the command prompt or using Start -> Run, just type: NIRCMD.EXE emptybin <enter>It's RECYCLER on my computer .It might be because it's Windows 2000, because I have seen RECYCLED sometimes. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now