Subscribe to our YouTube channel.Tutorials and more athttps://www.youtube.com/c/QB64Team.
0 Members and 1 Guest are viewing this topic.
@Pete , Here is my latest source which allows for Rename, Copy, Move, Recycle and even Empty Recycle bin all using WinAPI (Edit 1:31 AM 09/23/2020 It now also has the ability to show how many bytes the recycle bin is currently occupying on disk and how many files are contained. It's also inside my API Collection zip but I've attached it here for you. I hope this is what you are looking for.
I am curious have you tested these with .ogg files?
@bplus I have a couple ogg files handy. How do you want me to test them?I tested Copy, Rename, Move, Recycle, and Empty Recycle Bin on them with no issues whatsoever. Handled them like anything else.Code: QB64: [Select]PRINT Copy(_DIR$("desktop") + "distant.ogg", _DIR$("desktop") + "distant2.ogg")_DELAY 2PRINT Rename(_DIR$("desktop") + "distant2.ogg", _DIR$("desktop") + "distant3.ogg")_DELAY 2PRINT Recycle(_DIR$("desktop") + "distant3.ogg")_DELAY 2PRINT GetRecycleInfo_DELAY 2PRINT Move(_DIR$("desktop") + "distant.ogg", _DIR$("desktop") + "QB64 x64\distant.ogg")_DELAY 2PRINT EmptyBin
I know copying them is no problem but removing them can be or removing a folder that contains them might be the test. Yes removing a folder loaded up with them is the best test.Now if you are up to date with .ogg files then you have the special extension patch so they may work in File Explorer, and testing would be mute point. But I am curious if File Explorer is using API calls (which is where I'd place my bet) or working under it's own code power.