Page 1 of 1

Trash Folder

Posted: 15 Mar 2019, 05:43
by rediffusion
Hello people!
I have a script to clean up the recycle bin, the script only works in the running program:

Code: Select all

#SingleInstance force 
#NoTrayIcon
#IfWinActive, ahk_class TTOTAL_CMD
MButton::FileRecycleEmpty
I want to after clean up files, the trash folder has been updated/reload (i need to see empty folder ok?).
I find this:

Code: Select all

FileRecycle, C:\Recycle.Bin
But it doesn't! :(
Maybe i don't know how to wright right path to "trash folder".
Also i need "refreshtime" maybe 3 seconds.

Re: Trash Folder  Topic is solved

Posted: 16 Mar 2019, 01:59
by Tigerlily
rediffusion wrote:
15 Mar 2019, 05:43
Hello people!
I have a script to clean up the recycle bin, the script only works in the running program:

Code: Select all

#SingleInstance force 
#NoTrayIcon
#IfWinActive, ahk_class TTOTAL_CMD
MButton::FileRecycleEmpty
I want to after clean up files, the trash folder has been updated/reload (i need to see empty folder ok?).
I find this:

Code: Select all

FileRecycle, C:\Recycle.Bin
But it doesn't! :(
Maybe i don't know how to wright right path to "trash folder".
Also i need "refreshtime" maybe 3 seconds.
Hello! Welcome to the forums!

Your file path is very close to what seems to be an outdated method (I'm running Windows 10:

Try using the CSLID

Code: Select all

Run ::{645FF040-5081-101B-9F08-00AA002F954E}
If you unhide System Files in Folder Options you can see the folder on the root of the System Drive which is usually C:

Windows Vista to Windows 10

C:\$RECYCLE.BIN

Windows 2000, XP, NT

C:RECYCLER

Windows 98 and earlier that used FAT file systems

C:RECYCLED

This also may be of use to you ;)

https://www.autohotkey.com/board/topic/8661-how-to-open-the-recycle-bin/?p=54365