Re: Deleted files


Simon Brown
 

No,


When used to delete a file, SHFileOperation permanently deletes the file unless you set the FOF_ALLOWUNDO flag in the fFlags member of the SHFILEOPSTRUCT structure pointed to by lpFileOp. Setting that flag sends the file to the Recycle Bin. If you want to simply delete a file and guarantee that it is not placed in the Recycle Bin, use DeleteFile.


From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of jdow via groups.io <jdow@...>
Sent: 25 July 2022 10:37
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: Re: [SDR-Radio] Deleted files
 

MoveFile()


{o.o}

On 20220724 05:04:39, Simon Brown wrote:
Hi,

When writing code Delete is Delete. There's also an option to move to the recycle bin. As you say, these files may be too big.


From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of Jim Smith G0OFE via groups.io <sdr-radio@...>
Sent: 24 July 2022 10:25
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: Re: [SDR-Radio] Deleted files
 

I think this may be down to Windows limitations rather than Console. I usually get a message that the files are too big to recycle, and did I want to permanently delete them?


Jim.


================================
Need help with SDR Console? If you have a problem:
Go to https://www.sdr-radio.com/support
Please follow instructions in that link.
===================================
Jim, Bournemouth, Dorset. IO90BR.
Elad FDM-S2, Airspy HF+, SDRPlay and Funcube Dongle SDR Recievers
8-element OP-DES for Band 2, 8-element LFA for 2m, 3-element LFA for 6m, 20m Windom for HF,. Wellbrook 1530 Loop for LF


On 24/07/2022 08:57, Larry Horlick wrote:
I think a recycle bin option would be good...

Larry

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.

Join {main@SDR-Radio.groups.io to automatically receive all group messages.