QB64 Phoenix Edition
Recycle File - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Prolific Programmers (https://qb64phoenix.com/forum/forumdisplay.php?fid=26)
+---- Forum: SMcNeill (https://qb64phoenix.com/forum/forumdisplay.php?fid=29)
+---- Thread: Recycle File (/showthread.php?tid=4514)

Pages: 1 2 3 4 5


RE: Recycle File - NakedApe - 03-01-2026

Hmm, interesting. I’ll try unchecking Full Disk Access for QB and see if I’m mistaken on this. I’ll be back…


RE: Recycle File - NakedApe - 03-01-2026

Well, here's a first. I'm wrong. QB doesn't need Full Disk Access to create programs that use the Recycle Bin. I could've sworn the sample prog didn't work without that toggle flipped on, but, yeh, it didn't make sense. Sorry to confuse things. There goes my career as a software tester. Tongue


RE: Recycle File - SMcNeill - 03-01-2026

It may have been something really simple screwing it up earlier for you, like not putting the quotes around the file name.  

mv My File.txt   

The above would basically see two different things there to process:

My
File.txt

Without quotes to keep it all together, it's going to fail.   mv "My File.txt" isn't the same as mv My File.txt.  Not at all.  Wink

(Or it may be you needed to give terminal full permissions to work with mv properly.)

Who knows?!   At least it seems to be working as advertised *now*, and that's more than anyone could've said a week ago at this time.  Let's call it a win and be happy until someone pops up and screams, "You brokes my stuff!!"

Then we'll all run and hide and blame @Pete


RE: Recycle File - NakedApe - 03-01-2026

Agreed, onward and upward… and of course blame Pete! lol