It is currently April 26th, 2024, 6:45 am

Recycle Bin path

Get help with creating, editing & fixing problems with skins
Nerxxy
Posts: 11
Joined: May 21st, 2021, 2:22 am

Recycle Bin path

Post by Nerxxy »

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 :D
User avatar
CodeCode
Posts: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Recycle Bin path

Post by CodeCode »

"Shell:::{645FF040-5081-101B-9F08-00AA002F954E}"
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm

Re: Recycle Bin path

Post by death.crafter »

Nerxxy 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 :D
Actually Drag&Drop can delete the file for you:
Screenshot 2021-05-26 083518.png
Just use Silent=1
You do not have the required permissions to view the files attached to this post.
from the Realm of Death
Nerxxy
Posts: 11
Joined: May 21st, 2021, 2:22 am

Re: Recycle Bin path

Post by Nerxxy »

CodeCode wrote: May 26th, 2021, 2:25 am "Shell:::{645FF040-5081-101B-9F08-00AA002F954E}"
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}]
Afaik it has to use FilePath for the move action
User avatar
CodeCode
Posts: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Recycle Bin path

Post by CodeCode »

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:

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}]
Afaik it has to use FilePath for the move action
Try adding quotes around the SHell reference, like I posted it.

If that doesnt work, check death.dealers solution above - you guys were posting moments apart. ;)
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
Nerxxy
Posts: 11
Joined: May 21st, 2021, 2:22 am

Re: Recycle Bin path

Post by Nerxxy »

CodeCode wrote: May 26th, 2021, 3:13 am Try adding quotes around the SHell reference, like I posted it.

If that doesnt work, check death.dealers solution above - you guys were posting moments apart. ;)
had tried that already but thanks :) ill try death.dealers solution, i didnt even see that option in the docs for dragNdrop xD
Nerxxy
Posts: 11
Joined: May 21st, 2021, 2:22 am

Re: Recycle Bin path

Post by Nerxxy »

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
i totally missed that option there, where would i put the 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]
User avatar
CodeCode
Posts: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Recycle Bin path

Post by CodeCode »

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
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
Nerxxy
Posts: 11
Joined: May 21st, 2021, 2:22 am

Re: Recycle Bin path

Post by Nerxxy »

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
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....
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm

Re: Recycle Bin path

Post by death.crafter »

Nerxxy wrote: May 26th, 2021, 5:23 am 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....
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.
Drag&DropDelete_1.00.rmskin
You do not have the required permissions to view the files attached to this post.
from the Realm of Death