Thank you for pointing that out. I usually assume that some people have a certain degree of knowledge because apparently, some users get offended when I go to
too much detail, thinking that I think they are stupid when I'm just being informative...
Anyway, to use this in an off-line command line, I would put the sdelete file on the root of an
extra drive. Then, I would
Boot to Startup Repair using either a Win7 installation disk, or pressing F8 crazily when booting up Windows. If there's a system recovery partition on your drive, there should be a "Repair your Computer" option you could use.
Next, I would select the command prompt as a system recovery option. Note we're not actually recovering anything. We're just exploiting Windows 7's nice little feature
Next, confirm the drive letter you placed your sdelete file in, and the drive letter you want to do a safe delete on. To do this, in the command prompt, I would type
notepad, then press Ctrl+O when notepad is open, click Computer, and then look for the drive that has the file (selecting "All Files" under the drop down menu where the *.txt extension is listed helps too)
After I found the drive, I would close notepad and change the command prompt to that drive
sdelete is in. Let's assume it's D:. I would type:
Then I would do the wiping. Let's assume the disk is C:. I would type:
And that's it!
Oh, one more example. To delete
ALL FILES on C: and securely wipe them, [
BE CAREFUL WITH THIS ONE! You don't want to accidentally wipe your main hard drive ]
Code:
sdelete -p 3 -c C:\*