
Shredder anybody?
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.PeterH wrote:I don't think there is any dependency to the filetype
You should follow the link (which may not have been obvious - http://technet.microsoft.com/en-us/sysi ... 97443.aspx) for the details.
-
- Site Admin
- Posts: 64285
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Indeed interesting, thanks for pointing to it.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...
I assume SDelete supports command line switches, so it would be easy to integrate it into XY via a user command?
FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.
-
- Site Admin
- Posts: 64285
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Oh, I must have been switch blind. Too much beach time...Statler wrote:Yes. it does. The switches are documented on the same page.admin wrote:I assume SDelete supports command line switches, so it would be easy to integrate it into XY via a user command?

FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.
-
- Posts: 1075
- Joined: 30 May 2008 21:02
- Location: Lake Erie
"Syntax challenged"
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 ...
Would some provide an example of how to use Sdelete from the Catalog on a group of selected files.
Thank you ...
Re: "Syntax challenged"
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.aurumdigitus wrote:Would some provide an example of how to use Sdelete from the Catalog on a group of selected files.
Not sure if it allows multiple items to be deleted at once, if not simply choose "Multiple Instance" and that should do it.
Proud XYplorer Fanatic
-
- Posts: 1075
- Joined: 30 May 2008 21:02
- Location: Lake Erie
Multiple instances
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."
"The best thing about the good old days was I wasn't good and I wasn't old."

-
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
I use this:
Code: Select all
msg "delete items forever?",1;
openwith ""C:\WINDOWS\system32\sdelete.exe" -p 5 -s <items>", m
-
- Posts: 1075
- Joined: 30 May 2008 21:02
- Location: Lake Erie
-
- Site Admin
- Posts: 64285
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
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!!aurumdigitus wrote:Yes - that's it! It was the use of the double "double quotes" that was throwing the script syntax off this morning.

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?
FAQ | XY News RSS | XY X - Forum users with the Windows version and screen scaling percentage in the Location field of their profiles get priority support.
-
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
-
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY