hello friends,
I want to know, is there a way to empty recycle bin from a command line. I am using Windows XP operating system. Can anybody suggest me ideas to empty recycle bin using command line ?
thanks
hello friends,
I want to know, is there a way to empty recycle bin from a command line. I am using Windows XP operating system. Can anybody suggest me ideas to empty recycle bin using command line ?
thanks
The command line to empty Recycle Bin looks something like this :
ATTRIB %systemdrive%\RECYCLER\* -R -S -H /S /D
RD %systemdrive%\RECYCLER /S /Q
Put the above in a batch file, and that's it..
Sometimes RD won't do it's job, so to be safer side follow these :
ATTRIB %systemdrive%\RECYCLER\* -R -S -H /S /D
DEL %systemdrive%\RECYCLER\* /F /S /Q
RD %systemdrive%\RECYCLER /S /Q
Empty Recycle Bin 1.00 - Empty Recycle Bin is a simple command line tool that will allow you to empty the Windows Recycle Bin.
To view the syntax : use 'EmptyRecycleBin.exe /?'
Download
del C:\RECYCLED\?*.*
DEL is an internal command of CMD.exe to delete an object, so that it might be neccessary to load it first [(i.e. the command line might appear something like this: CMD.exe /C del C:\RECYCLED\?*.*)]
Bookmarks