Permanently Delete - Add to Context Menu

Page 5 of 10 FirstFirst ... 34567 ... LastLast

  1. Posts : 52
    Windows 7 Ultimate x64
       #40

    Yes I know about more when 15 items selected, no I just trying with 2-3 files.

    %1 not working even with single file or folder. %2 works with single, but no success with multiple.
      My Computer


  2. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #41

    I'm afraid that I'm not sure why it's not working for you with multiple items selected with it being used in Classic Shell instead.
      My Computer


  3. Posts : 52
    Windows 7 Ultimate x64
       #42

    %2 is the problem, I think its for single file only.
      My Computer


  4. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #43

    I tested %2 using the method in the tutorial, and it wouldn't work at all. Only %1 worked using that method.

    I'm not sure what would work with Classic Shell though.
      My Computer


  5. Posts : 52
    Windows 7 Ultimate x64
       #44

    %1 yes it works from context menu. %1 with Classic Shell as I mentioned before not working, only %2, but only with single file
      My Computer


  6. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #45

    So if I have it right Shawn I can delete permanently everything I pick down to just having the OS left on the drive? and I can use The Bare Foot Kid's tut to delete the whole drive?

    I have a few old drives that I want to scrub up and this looks like what I want - but I just to make sure.
      My Computer


  7. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #46

    Hello John,

    This is mostly for permanently deleting individual files. If you wanted to delete everything on a HDD, then using the "clean" command below would be a faster way to wipe it. :)

    Disk - Clean and Clean All with Diskpart Command
      My Computer


  8. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #47

    Thanks Shawn up with the goods again
      My Computer


  9. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #48

    You're most welcome. :)
      My Computer


  10. Posts : 7
    Windows 7 Ultimate x64
       #49

    This is pretty excellent. I was still pretty new to batch files, before reading this, I'm kind of stoked that I have a way to put my own commands into the context menu now. Did not know u could do that with registry =)

    Is there any way to have it prompt user for something like "Are you sure you want to delete?"

    Would it be possible to put an in-line prompt on the command in the registry? Like, I know this is not real syntax, 'Prompt "Are you sure?" | if yes do "sdelete.exe /p 3 /s %1"' ?? Did that make any sense? Can you do a prompt and a command all in the same line?

    Or what if i put that sdelete.exe command into a batch script with the prompt, and the registry command could just run the batch file? How would that look?
      My Computer


 
Page 5 of 10 FirstFirst ... 34567 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:07.
Find Us