Trash Folder Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
rediffusion
Posts: 58
Joined: 15 Mar 2019, 05:16

Trash Folder

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.
User avatar
Tigerlily
Posts: 377
Joined: 04 Oct 2018, 22:31

Re: Trash Folder  Topic is solved

16 Mar 2019, 01:59

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
-TL

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 118 guests