I'm trying to make a working trashcan with the Drag&Drop plugin, so far I've got it to where it will move the select files to a test folder, but I cant see to find the actual file path for the recycle bin, some google searches got me to the C:$Recycle.Bin path but that's not the actual bin, what I mean by that is when I put files in there they don't show in the bin nor does the number that shows how many files are in the bin.
So if someone knows the path (if there is one) then it would be greatly appreciated
It is currently April 26th, 2024, 6:45 am
Recycle Bin path
-
- Posts: 11
- Joined: May 21st, 2021, 2:22 am
-
- Posts: 1366
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Re: Recycle Bin path
"Shell:::{645FF040-5081-101B-9F08-00AA002F954E}"
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Rainmeter Sage
- Posts: 1399
- Joined: April 24th, 2021, 8:13 pm
Re: Recycle Bin path
Actually Drag&Drop can delete the file for you: Just use Silent=1Nerxxy wrote: ↑May 26th, 2021, 1:11 am I'm trying to make a working trashcan with the Drag&Drop plugin, so far I've got it to where it will move the select files to a test folder, but I cant see to find the actual file path for the recycle bin, some google searches got me to the C:$Recycle.Bin path but that's not the actual bin, what I mean by that is when I put files in there they don't show in the bin nor does the number that shows how many files are in the bin.
So if someone knows the path (if there is one) then it would be greatly appreciated
You do not have the required permissions to view the files attached to this post.
from the Realm of Death
-
- Posts: 11
- Joined: May 21st, 2021, 2:22 am
Re: Recycle Bin path
not too sure if im doing it right but that didnt work...
this is what im working with, if it helps:
Code: Select all
[DragNDrop]
Measure=Plugin
Plugin=Drag&Drop
[Receive]
Measure=Plugin
Plugin=Drag&Drop
Parent=DragNDrop
Bounds=0,0,150,150
Action=Move
FilePath=[Shell:::{645FF040-5081-101B-9F08-00AA002F954E}]
-
- Posts: 1366
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Re: Recycle Bin path
Try adding quotes around the SHell reference, like I posted it.Nerxxy wrote: ↑May 26th, 2021, 3:09 am not too sure if im doing it right but that didnt work...
this is what im working with, if it helps:
Afaik it has to use FilePath for the move actionCode: Select all
[DragNDrop] Measure=Plugin Plugin=Drag&Drop [Receive] Measure=Plugin Plugin=Drag&Drop Parent=DragNDrop Bounds=0,0,150,150 Action=Move FilePath=[Shell:::{645FF040-5081-101B-9F08-00AA002F954E}]
If that doesnt work, check death.dealers solution above - you guys were posting moments apart.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Posts: 11
- Joined: May 21st, 2021, 2:22 am
Re: Recycle Bin path
had tried that already but thanks ill try death.dealers solution, i didnt even see that option in the docs for dragNdrop xD
-
- Posts: 11
- Joined: May 21st, 2021, 2:22 am
Re: Recycle Bin path
i totally missed that option there, where would i put the silent=1?death.crafter wrote: ↑May 26th, 2021, 3:07 am Actually Drag&Drop can delete the file for you:
Screenshot 2021-05-26 083518.png
Just use Silent=1
im guessing like this:
Code: Select all
[DragNDrop]
Measure=Plugin
Plugin=Drag&Drop
[Receive]
Measure=Plugin
Plugin=Drag&Drop
Parent=DragNDrop
Bounds=0,0,150,150
Action=Delete [Silent=1]
-
- Posts: 1366
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Re: Recycle Bin path
I think it goes like this:
Code: Select all
[DragNDrop]
Measure=Plugin
Plugin=Drag&Drop
[Receive]
Measure=Plugin
Plugin=Drag&Drop
Parent=DragNDrop
Bounds=0,0,150,150
Action=Delete
Silent=1
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
- Posts: 11
- Joined: May 21st, 2021, 2:22 am
Re: Recycle Bin path
Doesnt seem to be working for me, does it for you? assuming you have tried? ive tried both the way i said and the one you said, even tried without the Silent=1 and still didnt work, i must be doing something wrong....CodeCode wrote: ↑May 26th, 2021, 3:37 am I think it goes like this:Code: Select all
[DragNDrop] Measure=Plugin Plugin=Drag&Drop [Receive] Measure=Plugin Plugin=Drag&Drop Parent=DragNDrop Bounds=0,0,150,150 Action=Delete Silent=1
-
- Rainmeter Sage
- Posts: 1399
- Joined: April 24th, 2021, 8:13 pm
Re: Recycle Bin path
As it happens the Delete functionality in Drag&Drop is a little faulty(just tested it myself). Meanwhile you can use this as workaround. This uses PowershellRM to do the exact thing.
You do not have the required permissions to view the files attached to this post.
from the Realm of Death