Page 1 of 1

context-menu tweaks

Posted: Tue Aug 09, 2005 1:59 pm
by 4days
REGEDIT4

; adds a command prompt to the context menu.
[HKEY_CLASSES_ROOT\Directory\Shell\DosPrompt]
@="Prompt"
[HKEY_CLASSES_ROOT\Directory\Shell\DosPrompt\Command]
@="Cmd /k CD \"%L\" "

; adds a 'copy to folder' option to the context menu.
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To]
@="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"

;adds an 'Explore as root' option, to explore with the current folder as root.
[HKEY_CLASSES_ROOT\Directory\Shell\RootExplore]
@="Explore as root"
[HKEY_CLASSES_ROOT\Directory\Shell\RootExplore\Command]
@="explorer.exe /e ,/root,\"%L\" "

Posted: Tue Aug 09, 2005 8:35 pm
by ilumos
How do you add this stuff to the registry?

I pasted it all into a .reg file and it had none of it. What am I doing wrong?

Posted: Tue Aug 09, 2005 9:06 pm
by 4days
did you save a text file as '.reg'? think it needs to be unicode to work, so one way to do it would be to export some key or other to a file on your desktop - then edit that file, delete everything and paste the new contents - then save/merge.

it's from a windows2000 box btw, results may vary on other OSs.

Posted: Wed Aug 10, 2005 2:07 am
by AmIdYfReAk
you need to make sure when you paste it into notepad, that you put "Tweak.reg" in the Save As field, or else it will save as tweak.reg.txt

Posted: Wed Aug 10, 2005 2:20 am
by Bdw3
Fairly usefull stuff too.

I forsee myself using the [copy to folder] much. :icon14:

Posted: Wed Aug 10, 2005 2:52 am
by dzjepp
You need to add:

Windows Registry Editor Version 5.00

As the first line otherwise Windooze won't allow you to use it.

BTW, if anyone is interested in a nice full page registry tweak file formatted with instructions and info on each tweak I'll paste it here. Don't remember where I got it otherwise I would send you to the page itself.

Works quite good, I've got a ton of them enabled.

http://s88378813.onlinehome.us/files/mi ... TWEAKS.rar

EDIT: Don't forget: DO NOT merge/apply the file right away. Look through it (edit with notepad) and comment (with a ; ) anything out that you don't want to enable.

Posted: Wed Aug 10, 2005 3:01 am
by Bdw3
er, that line does noting... as formatted above in a text document with the extention changed to .reg will work fine.

Posted: Wed Aug 10, 2005 10:19 am
by 4days

Posted: Tue Mar 13, 2007 5:07 pm
by 4days
just had to spend about 15 minutes googling/remembering enough DOS to do this, so in the unlikely event that it's useful to anyone else:

Code: Select all

@ECHO OFF
SET buffer=%1
:SWAPSLASH
FOR /f "tokens=1* delims=\" %%a IN ('ECHO %buffer%') DO (
  IF NOT [%%b]==[] SET buffer=%%a/%%b
  IF NOT [%%b]==[] GOTO SWAPSLASH
 )
)
ECHO %1 = %buffer%
should replace all the "\"s in a string with "/". handy if you're sending stuff over to a *nix box.

Posted: Tue Mar 13, 2007 7:07 pm
by Underpants?
slicker than a cat's ass, dj dizzy dipp

Posted: Fri Mar 16, 2007 2:34 pm
by FragaGeddon
cool.

Posted: Sat Mar 17, 2007 2:37 am
by Scourge
Here's a reg hack I've been using. Has send to, copy to, and move to

SendTo.zip