Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , ,

Sponsored Links



How to delete directories and files out of $Recycle.bin

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-01-2009
Cappy
 
Posts: n/a
How to delete directories and files out of $Recycle.bin

Hello!

One of the things that we do when we are running out of space on our
OS partition is do delete files out of c:\temp, c:\windows\temp, and
any directories out of the recycle bin as viewed from explorer. (We
have many developers that do not empty their recycle bin after they've
finished working.)

Having been thrown at Windows2008, and having a server on which I'm
trying to clear space, I used TreesizePro to view the C drive. In
that software I can see the "C:\$Recycle.bin" directory and
subdirectories. There is one that is holding almost 500MB worth of
data. I want to delete it.

How do I make it visible in the Windows2008 Explorer window? Setting
the properties to "Classic Windows View," and making sure all of the
check boxes/radio buttons are set to view hidden files and folders,
this directory still does not show up.

What are the tricks to dealing with this folder in Windows2008, not
using external tools?

Thanks for any assistance...

Cappy

(This was posted yesterday in the google group Windows2008)
Reply With Quote
  #2  
Old 29-01-2009
Pegasus \(MVP\)
 
Posts: n/a
Re: How to delete directories and files out of $Recycle.bin


"Cappy" <cappy_p@juno.com> wrote in message
news:6155d0a0-cb6b-4abf-b2b4-98a2a7e05805@e18g2000yqo.googlegroups.com...
> Hello!
>
> One of the things that we do when we are running out of space on our
> OS partition is do delete files out of c:\temp, c:\windows\temp, and
> any directories out of the recycle bin as viewed from explorer. (We
> have many developers that do not empty their recycle bin after they've
> finished working.)
>
> Having been thrown at Windows2008, and having a server on which I'm
> trying to clear space, I used TreesizePro to view the C drive. In
> that software I can see the "C:\$Recycle.bin" directory and
> subdirectories. There is one that is holding almost 500MB worth of
> data. I want to delete it.
>
> How do I make it visible in the Windows2008 Explorer window? Setting
> the properties to "Classic Windows View," and making sure all of the
> check boxes/radio buttons are set to view hidden files and folders,
> this directory still does not show up.
>
> What are the tricks to dealing with this folder in Windows2008, not
> using external tools?
>
> Thanks for any assistance...
>
> Cappy
>
> (This was posted yesterday in the google group Windows2008)


You could use direct methods: Open a Command Prompt, then type these
commands:
cd /d C:\$Recycle.bin
rd /s /q "NameOfFolder"

A couple of other points:
- You say that your developers do not empty their recycle bins. Why are they
working on the server? They should be working on their workstation!
- If 500 MBytes is going to make a difference to your free disk space then
you need enlarge your OS partition as a matter of urgency. It should be at
least 20 GBytes in size and you must not allow the amount of free space to
drop below 20% of capacity. If you store user files or Exchange data on it
then you must move it to a data partition immediately.


Reply With Quote
  #3  
Old 29-01-2009
Cappy
 
Posts: n/a
Re: How to delete directories and files out of $Recycle.bin

On Jan 29, 10:44*am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> "Cappy" <capp...@juno.com> wrote in message
>
> news:6155d0a0-cb6b-4abf-b2b4-98a2a7e05805@e18g2000yqo.googlegroups.com...
>
>
>
> > Hello!

>
> > One of the things that we do when we are running out of space on our
> > OS partition is do delete files out of c:\temp, c:\windows\temp, and
> > any directories out of the recycle bin as viewed from explorer. *(We
> > have many developers that do not empty their recycle bin after they've
> > finished working.)

>
> > Having been thrown at Windows2008, and having a server on which I'm
> > trying to clear space, I used TreesizePro to view the C drive. *In
> > that software I can see the "C:\$Recycle.bin" directory and
> > subdirectories. *There is one that is holding almost 500MB worth of
> > data. *I want to delete it.

>
> > How do I make it visible in the Windows2008 Explorer window? *Setting
> > the properties to "Classic Windows View," and making sure all of the
> > check boxes/radio buttons are set to view hidden files and folders,
> > this directory still does not show up.

>
> > What are the tricks to dealing with this folder in Windows2008, not
> > using external tools?

>
> > Thanks for any assistance...

>
> > Cappy

>
> > (This was posted yesterday in the google group Windows2008)

>
> You could use direct methods: Open a Command Prompt, then type these
> commands:
> cd /d C:\$Recycle.bin
> rd /s /q "NameOfFolder"
>
> A couple of other points:
> - You say that your developers do not empty their recycle bins. Why are they
> working on the server? They should be working on their workstation!
> - If 500 MBytes is going to make a difference to your free disk space then
> you need enlarge your OS partition as a matter of urgency. It should be at
> least 20 GBytes in size and you must not allow the amount of free space to
> drop below 20% of capacity. If you store user files or Exchange data on it
> then you must move it to a data partition immediately.


They are development servers. They are installing/uninstalling
software, reviewing logs, etc. They are allowed to do that.

On this *particular* server, we are trying to clear enough space to
have 20% free space available on the partition. 500MB isn't make or
break, it just happens to be some "trash data" that we'd like to
delete. I'd also like to delete the winsxs directory, but that isn't
an option. It's taking up 33% of the partition. Apparently you can't
steer it to another drive, but that's for a different thread.

Thanks for the command lines. I'll let you know how they work out.

Cappy
Reply With Quote
  #4  
Old 29-01-2009
Cappy
 
Posts: n/a
Re: How to delete directories and files out of $Recycle.bin

On Jan 29, 11:05*am, Cappy <capp...@juno.com> wrote:
> On Jan 29, 10:44*am, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
>
>
>
> > "Cappy" <capp...@juno.com> wrote in message

>
> >news:6155d0a0-cb6b-4abf-b2b4-98a2a7e05805@e18g2000yqo.googlegroups.com....

>
> > > Hello!

>
> > > One of the things that we do when we are running out of space on our
> > > OS partition is do delete files out of c:\temp, c:\windows\temp, and
> > > any directories out of the recycle bin as viewed from explorer. *(We
> > > have many developers that do not empty their recycle bin after they've
> > > finished working.)

>
> > > Having been thrown at Windows2008, and having a server on which I'm
> > > trying to clear space, I used TreesizePro to view the C drive. *In
> > > that software I can see the "C:\$Recycle.bin" directory and
> > > subdirectories. *There is one that is holding almost 500MB worth of
> > > data. *I want to delete it.

>
> > > How do I make it visible in the Windows2008 Explorer window? *Setting
> > > the properties to "Classic Windows View," and making sure all of the
> > > check boxes/radio buttons are set to view hidden files and folders,
> > > this directory still does not show up.

>
> > > What are the tricks to dealing with this folder in Windows2008, not
> > > using external tools?

>
> > > Thanks for any assistance...

>
> > > Cappy

>
> > > (This was posted yesterday in the google group Windows2008)

>
> > You could use direct methods: Open a Command Prompt, then type these
> > commands:
> > cd /d C:\$Recycle.bin
> > rd /s /q "NameOfFolder"

>
> > A couple of other points:
> > - You say that your developers do not empty their recycle bins. Why arethey
> > working on the server? They should be working on their workstation!
> > - If 500 MBytes is going to make a difference to your free disk space then
> > you need enlarge your OS partition as a matter of urgency. It should beat
> > least 20 GBytes in size and you must not allow the amount of free spaceto
> > drop below 20% of capacity. If you store user files or Exchange data onit
> > then you must move it to a data partition immediately.

>
> They are development servers. *They are installing/uninstalling
> software, reviewing logs, etc. *They are allowed to do that.
>
> On this *particular* server, we are trying to clear enough space to
> have 20% free space available on the partition. *500MB isn't make or
> break, it just happens to be some "trash data" that we'd like to
> delete. *I'd also like to delete the winsxs directory, but that isn't
> an option. *It's taking up 33% of the partition. *Apparently you can't
> steer it to another drive, but that's for a different thread.
>
> Thanks for the command lines. *I'll let you know how they work out.
>
> Cappy


Thanks, the command lines work. Let me add one so you can see the
directory names:

cd /d C:\$Recycle.bin
dir /AH
rd /s /q "NameOfFolder"



Ya know, I "grew up" in DOS command line stuff. Looks like I'll have
to dig out my old DOS books and brush up on command line again.

Thanks again...
Cappy
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to delete directories and files out of $Recycle.bin"
Thread Thread Starter Forum Replies Last Post
Distinguishing between files and directories Flacos Software Development 3 05-12-2009 04:13 PM
super super hidden directories within $RECYCLE.BIN r0cket Vista Help 2 23-03-2009 06:44 AM
XP Home cleanup: delete uninstall directories after installing SP3 ? Mr.Ekko@Lost.Island Windows XP Support 2 12-05-2008 06:15 AM
Cannot Delete File on Desktop/Recycle Bin Barbara Schneier Vista Help 2 21-02-2008 02:25 AM
OK to delete $NtUninstallKB.. directories? Rick C. Window 2000 Help 2 12-12-2006 04:20 AM


All times are GMT +5.5. The time now is 05:34 AM.