Page 2 of 3

Posted: 15 Jul 2008 14:05
by Statler
From what I can read here ("How SDelete works"), shredding the files properly can be a bit tricky, when it comes to compressed, encrypted or sparse files. And it seems even more complicated when you try to implement the same for free space... :)

Posted: 15 Jul 2008 14:57
by PeterH
I don't think there is any dependency to the filetype - the physical file is overwritten with some pattern, maybe multiple, and that's it.

Free space is another thing...

Posted: 15 Jul 2008 19:20
by mwb1100
PeterH wrote:I don't think there is any dependency to the filetype
Statler wasn't talking about filetype, but the storage attributes on an NTFS file. There are some issues beyond simply using the standard basic file I/O routines to overwrite the files.

You should follow the link (which may not have been obvious - http://technet.microsoft.com/en-us/sysi ... 97443.aspx) for the details.

Posted: 16 Jul 2008 22:44
by PeterH
mwb1100 wrote:Statler wasn't talking about filetype, but the storage attributes on an NTFS file.
Sorry, that's right - I misinterpreted meaning of 'compressed' as of something like zipped...

Posted: 21 Jul 2008 11:35
by admin
Statler wrote:From what I can read here ("How SDelete works"), shredding the files properly can be a bit tricky, when it comes to compressed, encrypted or sparse files. And it seems even more complicated when you try to implement the same for free space... :)
Indeed interesting, thanks for pointing to it.

I assume SDelete supports command line switches, so it would be easy to integrate it into XY via a user command?

Posted: 21 Jul 2008 16:52
by Statler
admin wrote:I assume SDelete supports command line switches, so it would be easy to integrate it into XY via a user command?
Yes. it does. The switches are documented on the same page. :)

Posted: 21 Jul 2008 21:09
by admin
Statler wrote:
admin wrote:I assume SDelete supports command line switches, so it would be easy to integrate it into XY via a user command?
Yes. it does. The switches are documented on the same page. :)
Oh, I must have been switch blind. Too much beach time... :wink:

"Syntax challenged"

Posted: 24 Jul 2008 16:02
by aurumdigitus
It appears that my dotage has left me "syntax challenged".

Would some provide an example of how to use Sdelete from the Catalog on a group of selected files.

Thank you ...

Re: "Syntax challenged"

Posted: 24 Jul 2008 16:30
by jacky
aurumdigitus wrote:Would some provide an example of how to use Sdelete from the Catalog on a group of selected files.
Haven't tried it, but it seems if you choose "Open selected List Item(s) with Application" under "Action on click" (in the Advanced section at the bottom) and put the path to sdelete.exe into "Application", it should work.
Not sure if it allows multiple items to be deleted at once, if not simply choose "Multiple Instance" and that should do it.

Multiple instances

Posted: 24 Jul 2008 16:52
by aurumdigitus
Thanks oh wise one. That bit about multiple instances was the key to success. A matter of not seeing the forest through the trees really.

"The best thing about the good old days was I wasn't good and I wasn't old." :shock:

Posted: 24 Jul 2008 18:20
by serendipity
I use this:

Code: Select all

 msg "delete items forever?",1; 
 openwith ""C:\WINDOWS\system32\sdelete.exe" -p 5 -s <items>", m

Posted: 24 Jul 2008 21:24
by aurumdigitus
Yes - that's it! It was the use of the double "double quotes" that was throwing the script syntax off this morning.

Posted: 24 Jul 2008 21:29
by admin
aurumdigitus wrote:Yes - that's it! It was the use of the double "double quotes" that was throwing the script syntax off this morning.
Actually I'm not so happy with the double "double quotes" rule as it is right now (in UDC and Scripting). I wished I opted for the common standard!! :cry:

XYplorer: use double quotes around app when there are command switches.
Common standard: use double quotes around app when app path contains blanks.

I know I cannot go back now because it would break tons of user code. But maybe I could offer an option (tweak) to use the common standard? Opinions?

Posted: 24 Jul 2008 21:32
by serendipity
Yes, make it optional please. +1 for this.

Posted: 24 Jul 2008 21:34
by serendipity
Yes, make it optional please. +1 for the common standard.