context-menu tweaks
context-menu tweaks
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\" "
; 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\" "
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.
it's from a windows2000 box btw, results may vary on other OSs.
-
- Posts: 6926
- Joined: Thu Feb 10, 2000 8:00 am
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.
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.
nice onedzjepp wrote: http://s88378813.onlinehome.us/files/mi ... TWEAKS.rar

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:
should replace all the "\"s in a string with "/". handy if you're sending stuff over to a *nix box.
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%
-
- Posts: 4755
- Joined: Mon Oct 22, 2001 7:00 am
- FragaGeddon
- Posts: 3229
- Joined: Sun Sep 17, 2000 7:00 am