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
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
My Windows 7 64bit Home Premium does not have a COMMAND or COM command
When I am told to go to START/SEARCH and type in COMMAND, so I can RUN as Admin, it finds neither COM.exe or COMMAND.exe so I can "Run as Admin" in the DOS windows. It use to. I do have a RUN command that will bring up the DOS window but when executing some commands like CHKDSK it tells me I...
General Discussion
Missing "Open With" command with right-click
Hi Folks: If I right-click a single file, the "open with" command is missing in Windows 7 Home Premium.:( How do I fix this missing command? Thanks, MS:D
General Discussion
Problems about windows 7 "open command window here" shift-right click
When I clicked on "open command window here" on shift-right click menu. It shows me an error message as the attachment. Before it works fine until last month. Does Windows last update update caused that problem or I did something wrong?
General Discussion
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 20:42.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App