Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to add RD /s /q command to right click?

15 Jul 2012   #1
orion310591

Windows 7 Ultimate x64
 
 
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


My System SpecsSystem Spec
.
15 Jul 2012   #2
orion310591

Windows 7 Ultimate x64
 
 

Ok nvm I got it...

Code:
@="cmd.exe /c \"RD /s /q \"%1\" \""
My System SpecsSystem Spec
Reply

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




Thread Tools




Similar help and support threads
Thread Forum
Looking for app/command to unlock batch of exe by right click
Everything's in the title.. So far i've found tutorials talking about powershell only. And this by the way, works only on Windows 10, doesn't work on Windows 7! Thanks for the help :)
General Discussion
Start menu -> Command prompt -> right click -> run as admin = error
I'm currently experiencing a problem in Windows 10 with StartIsBack, but I've experienced the same problem on Win7 as well when I used to use W7. The problem is I never know when it started happening (as I don't do the steps needed to invoke it often) and by the time I notice it's too late to do...
General Discussion
Open Command Window Here - Add or Remove Shift + Right Click
How to Use "Open Command Window Here" Context Menu Item without Shift+ Right Click This will show you how to add or remove having to press Shift and right clicking on a folder or drive to use the Open Command Window Here from the context menu item for all users in Vista, Windows 7, and Windows...
Tutorials
Command Center wants to make changes to my computer, can't click no
A few seconds after logging into my computer, I receive this message: Do you want the following program to make changes to you computer? It's from Command Center and the file origin is from my Hard Drive. When I show info about the pubisher's certificate it says that it's "ok" and show that...
System Security
how to delete command to the right click
how to delete command to the right click http://www.up.kurdclick.net//uploads/images/kurdclick9c21790493.jpg
Customization


Our Sites

Site Links

About Us

Find 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 05:05.
Twitter Facebook Google+