02-28-2026, 10:23 PM
Okay! Nice job getting that info, @SMcNeill.
1. So I checked Privacy & Security > Full Disk Access and, while Terminal had full permission, QB64pe did not. It had never been an issue because I'd never tried to move a file to the Trash before using a QB program. I've KILLed plenty of files - that was okay with the OS - but for some reason accessing the Trash requires full disk access.
2. I tried using your latest Recycle Bin prog on page 3 and it still didn't work, however, the last one above by @justsomeguy works just fine using the "mv" command. Hurrah!
I guess I never tried using the mv command in a Terminal window yesterday - I only used it in the QB progs.
SO, this should be universal for Macs as long as the QB64pe application is given FULL disk access:
cmd$ = "mv " + Chr$(34) + file$ + Chr$(34) + " ~/.Trash/"
Shell cmd$
1. So I checked Privacy & Security > Full Disk Access and, while Terminal had full permission, QB64pe did not. It had never been an issue because I'd never tried to move a file to the Trash before using a QB program. I've KILLed plenty of files - that was okay with the OS - but for some reason accessing the Trash requires full disk access.
2. I tried using your latest Recycle Bin prog on page 3 and it still didn't work, however, the last one above by @justsomeguy works just fine using the "mv" command. Hurrah!
I guess I never tried using the mv command in a Terminal window yesterday - I only used it in the QB progs.SO, this should be universal for Macs as long as the QB64pe application is given FULL disk access:
cmd$ = "mv " + Chr$(34) + file$ + Chr$(34) + " ~/.Trash/"
Shell cmd$

