I am trying to run CCleaner portable version in a computer through a batch file but is not emptying the Recycle Bin.
I am able to run CCleaner from a centralized computer and CCleaner gets rid of all the other Settings/Applications but not the Recycle Bin. I am using the latest winapp2.ini file that was posted in the Forums. The weirdest part is that when I run the batch file locally from the computer, it empties the Recycle Bin. At first I thought it was a permissions problem, but as I can see the cmd prompt opened when I trigger the program, I know it runs.
This is the batch file I'm using:
echo program starts
C:\Programs\CCleaner\CCleaner.exe /auto
echo program ends
pause
exit
Do you have any idea on why it's only the Recycle Bin not being taken care this way?
I'll appreciate much your input.
Thanks!
You need to supply more info:
* Windows version ("XP, Vista, 7"), and rather it's 32-bit or 64-bit.
* CCleaner version.
Also make sure the Recycle Bin box is ticked in CCleaner.
Thanks for your quick response Andavari... here's the info:
- It's on a Windows XP 32-bit computer
- Running the CCleaner.exe 32bit version
- The Recycle Bin box is checked
I could be way off on this but can you try your command line different, albeit I don't know if it will make a difference:
1. If your Recycle Bin is empty create a new file such as a New Text Document, then delete it to the Recycle Bin.
2. Try just this parameter instead, without all the echo comments, etc (and include the quotes):
"C:\Programs\CCleaner\CCleaner.exe" /AUTO
Ok, so I threw a file in the Recycle Bin and put the parameter in between quotes but when I ran the batch file it prompt me this error in the command prompt:
"The directory is invalid"
I don't know then. Possibly something is messed up in your computer. Just make sure your path in the command is the actual path to CCleaner, unless you have all your program files custom installed in "C:\Programs" rather than "C:\Program Files"