Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: empty the recycle bin with a .bat  (Read 2487 times)

0 Members and 1 Guest are viewing this topic.

dworley

    Topic Starter


    Beginner

    Thanked: 1
    empty the recycle bin with a .bat
    « on: November 05, 2007, 12:21:03 PM »
    I am running windows XP professional.

    I want to empty the recyle bin using a .bat file...

    OR if anyone knows the path to the recycle bin, that would work too... (for some reason it isn't C:/recycled)

    Thanks,
    Darryl
    Have you forgotten?

    contrex

    • Guest
    Re: empty the recycle bin with a .bat
    « Reply #1 on: November 05, 2007, 12:54:34 PM »
    (for some reason it isn't C:/recycled)

    The reasons for that are

    1. NO paths in Windows use forward slashes!  ::)
    2. It's c:\Recycler




    dworley

      Topic Starter


      Beginner

      Thanked: 1
      Re: empty the recycle bin with a .bat
      « Reply #2 on: November 05, 2007, 01:02:19 PM »
      1) I know. It was a freakin' typo
      2) That's all well and good, but it's inaccessible through windows OR cmd (I can get to the path, but it doesn't work right...)
      Have you forgotten?

      contrex

      • Guest
      Re: empty the recycle bin with a .bat
      « Reply #3 on: November 05, 2007, 01:06:57 PM »
      EmptyRecycleBin.exe from...

      http://www.appdeploy.com/downloads/detail.asp?id=298

      I use this myself in a batch script at shutdown

      EmptyRecycleBin.exe /Q




      « Last Edit: November 05, 2007, 01:19:50 PM by contrex »