Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I open the Recycle Bin from the command line?

I'd be very glad if there is a built-in Windows command.

share|improve this question
4  
What version of windows? –  Raystafarian Feb 28 '12 at 17:06
2  
Do you mean the Recycle Bin window or just the directory? Does it have to be for all drives or a specific one? –  Synetech Feb 28 '12 at 23:02
add comment

4 Answers 4

up vote 33 down vote accepted

Command line

On the command line, type

start shell:RecycleBinFolder

It is not case sensitive, so you can just type start shell:recyclebinfolder.

Run dialog

An alternative is to use the Run dialog (menu Start/Run or Win + R) - there is less to type. Type

shell:RecycleBinFolder

and press OK (or hit Enter).

It is portable!

This method works on all versions of Windows, at least back to Windows 2000.

share|improve this answer
    
More shell shortcuts (94). –  Peter Mortensen Nov 9 '12 at 13:46
add comment

(Depending on the OS and filesystem, the directory may be $Recycle.bin, Recycled, or Recycler.)

  • To open the Recycle Bin window (showing deleted objects on all drives):

    C:\> start ::{645FF040-5081-101B-9F08-00AA002F954E}
    or
    C:\> start shell:RecycleBinFolder
    or
    C:\> start C:\$Recycle.bin

  • To list deleted objects on a specific drive:

    C:\> dir /s/a <driveletter>:\$Recycle.Bin

    (NB, the original filenames will not be shown in this mode.)

share|improve this answer
    
In windows 7 start C:\$Recycle.bin just gave me an empty directory. I needed to use start shell:RecycleBinFolder –  icc97 Apr 17 '13 at 9:01
add comment

You can open the Recycle Bin window by using its GUID:

explorer ::{645FF040-5081-101B-9F08-00AA002F954E}
share|improve this answer
add comment
This should help, tested on Windows 7 successfully

RUN
CMD
CD \$Recycle.Bin
share|improve this answer
    
Cool! How do you view files in RecycleBin that way? dir doesn't work for me. Are you also able to empty recycle bin? –  Alexander Bird Jul 31 '13 at 17:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.