How to add RD /s /q command to right click?


  1. Posts : 13
    Windows 7 Ultimate x64
       #1

    How to add RD /s /q command to right click?


    Can someone post me what I need to import to registry, so i can right click some file or folder, and delete (that right clicked folder) it with this command RD /s /q ?

    I assume it something like

    Code:
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\Directory\shell\Power.Delete]
    @="&Power.Delete"
    [HKEY_CLASSES_ROOT\Directory\shell\Power.Delete\command]
    @="\"cmd.exe\" WHAT GOES HERE???"
    I need it to delete locked folders when even Unlocker says folder isnt locked.
    It works with that command.

    Thanks
    Last edited by orion310591; 15 Jul 2012 at 14:12.
      My Computer


  2. Posts : 13
    Windows 7 Ultimate x64
    Thread Starter
       #2

    Ok nvm I got it...

    Code:
    @="cmd.exe /c \"RD /s /q \"%1\" \""
      My Computer


 

  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 12:27.
Find Us