hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

RELiC
CmdHere is just a .reg file that adds an entry to Windows Explorer's shortcut menu for files and folders (local and remote). Selecting this option opens a console window with the same path as that of the file or folder.

cmdhere.reg source:

CODE
REGEDIT4

[HKEY_CLASSES_ROOT\*\shell\cmdhere]
@="Cmd&Here"

[HKEY_CLASSES_ROOT\*\shell\cmdhere\command]
@="cmd.exe /c start cmd.exe /k pushd \"%L\\..\""

[HKEY_CLASSES_ROOT\Folder\shell\cmdhere]
@="Cmd&Here"

[HKEY_CLASSES_ROOT\Folder\shell\cmdhere\command]
@="cmd.exe /c start cmd.exe /k pushd \"%L\""


../
strasharo
Thank you very much for posting it Relic,that`s very useful. smile.gif
wicked
Indeed it is

wink.gif

Have a nice day.

ps: Tutorial Updated

smile.gif
flame
did someone mentioned reg tweaks ?
here are the ones i use tongue.gif
CODE
;This will add "Services" to the right-click menu of "My Computer"
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services]
@=hex(2):53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,00,00
"SuppressionPolicy"=dword:4000003c
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73, 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00, 65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52, 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00, 32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73, 00,63,00,20,00,2f,00,73,00,00,00

;Disable Windows Picture and Fax Viewer
[-HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview]

;Disable Automatic Restart in the event of a BSOD
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
"AutoReboot"=dword:00000000

;Disable the Desktop Cleanup Wizard
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]
"NoRun"=dword:00000001

;Disables Error Reporting, but notifies when errors occur
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting]
"DoReport"=dword:00000000

;Disable Messenger Service (to block spam. Does not affect MSN or Windows Messenger)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Messenger]
"Start"=dword:00000004

;Disable Remote Registry Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]
"Start"=dword:00000004

;Disable Windows Time Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time]
"Start"=dword:00000004

;Adds search keywords to Internet Explorer (in this order: Microsoft Knowledge Base, Altavista, Google, MSN, FileMirrors)
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSKB]
@="http://support.microsoft.com/?kbid=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\AV]
@="http://www.altavista.com/sites/search/web?q=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\GGL]
@="http://www.google.com/search?q=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\MSN]
@="http://search.msn.com/results.asp?q=%s"
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\FM]
@="http://www.filemirrors.com/search.src?file=%s"

;Prevents Internet Explorer windows from being reused
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"AllowWindowReuse"=dword:00000000

;Removes Language Bar
[-HKEY_CLASSES_ROOT\CLSID\{540D8A8B-1C3F-4E32-8132-530F6A502090}]
@="Language bar"
"MenuTextPUI"="@%SystemRoot%\\System32\\msutb.dll,-325"

;Max your Internet Explorer's simultaneous downloads to 10 (default was 2)
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPer1_0Server"=dword:0000000a
"MaxConnectionsPerServer"=dword:0000000a

;Change MenuShowDelay (Start Menu load speed)
[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="2"

;Remove Shared Documents from My Computer
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}]

;Remove Shortcut Arrows
[HKEY_CLASSES_ROOT\lnkfile]
"IsShortcut"=-

;Allow renaming of Recycle Bin
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]
"Attributes"=hex:50,01,00,20
"CallForAttributes"=dword:00000000

;Disables Windows Tour bubble popup
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000

;NoLowDiskSpaceChecks won't check if you are low on diskspace or pop-up a balloon telling you.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes]
"Drop Shadow"="FALSE"
"Flat Menus"="FALSE"
"SetupVersion"="7"
"InstallTheme"="%ResourceDir%\\themes\\ForeverBlue.theme"
"InstallVisualStyle"="%SystemRoot%\\Resources\\themes\\ForeverBlue\\ForeverBlue.msstyles"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\DownloadSites]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\DownloadSites\100]
"DisplayName"="@themeui.dll,-2015"
"URL"="http://go.microsoft.com/fwlink/?LinkId=488"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\VisualStyleDirs]
"1"=hex(2):25,00,52,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,44,00,69,00,\
72,00,25,00,5c,00,54,00,68,00,65,00,6d,00,65,00,73,00,00,00
raptor
what does that exactly do ?
cause i applied and found nothin'
cartman
QUOTE (raptor @ Nov 1 2003, 01:45 AM)
what does that exactly do ?
cause i applied and found nothin'

When you click on a Directory with the right mouse button, you have a new menu item "CmdHere". Thist item open a Dos command line in this directory.
decline
Thanks for this nice to have in the tool box smile.gif
raptor
great thanx!
Vosgia
hehe thx nice tool
betaserver
Extremely awesome tool mate, this is a must for anyone who uses DOS. Thx mate smile.gif
oxygen007m
really useful , thx wink.gif
illwill
hrrrm i made this in assembly about a month ago if your interested in the exe version with the source included you can get it here http://illmob.org/0day/DOSDrop.zip .. i just realized that my version and your .reg is only for NT/2K/XP/2K3 ill have to add support for 9x/me (cmd.exe needs to be command.com) in the next release
ph34r.gif
OneNight
Excellent tool. Strange to think there are still all these really useful tools to be had. Then again, everything can always be tweaked

Thx guys.
Wavid
Thx for this

CODE
REGEDIT4

[HKEY_CLASSES_ROOT\*\shell\cmdhere]
@="Cmd&Here"

[HKEY_CLASSES_ROOT\*\shell\cmdhere\command]
@="cmd.exe /c start cmd.exe /k pushd \"%L\\..\""

[HKEY_CLASSES_ROOT\Folder\shell\cmdhere]
@="Cmd&Here"

[HKEY_CLASSES_ROOT\Folder\shell\cmdhere\command]
@="cmd.exe /c start cmd.exe /k pushd \"%L\""


But how do i remove it if i dont want it anymore?
thesource
wierd. its supposeed show up when you right click? dont see it
flame
only when u right click a folder
wink.gif
MindSmith
V.Nice Util.

Thanx for all tool & REG Refs.

#include <std.disclaimer.H>
Max Sniper
QUOTE (illwill @ Nov 1 2003, 06:28 PM)
hrrrm i made this in assembly about a month ago if your interested in the exe version with the source included you can get it here http://illmob.org/0day/DOSDrop.zip .. i just realized that my version and your .reg is only for NT/2K/XP/2K3 ill have to add support for 9x/me (cmd.exe needs to be command.com) in the next release
ph34r.gif

Thanks M8s
And Waiting the next release unsure.gif
illwill
made a new version for all versions of windows... if you guys have win95,win98,winme please let me know if it works for you.. i didnt have a computer handy to test thoroughly wink.gif
meinaeiner
hi.

if you add the parameter /F:ON to the cmd-command
you can use build-in file/directory-completition.

STRG+F = filename completition
STRG+D = directory completition

ex: @="cmd.exe /c start cmd.exe /F:ON /k pushd \"%L\\..\""

cheers
yeyo
Thanks alot 4 the tips biggrin.gif
limbox
this saves me a lot of time. Thanks for this nice app
Cop
thanks for the app!

EDIT: illwill i tried yours, when i go to DOS drop on a folder, it opens the folder that the right-clicked folder is in. ex.. game folder inside of stuff folder. right click on game>dosdrop. and it opens up the "stuff" folder. mabye this is what it is supposed to do but i dont know. just thought i would let you know.
wicked
QUOTE
EDIT: illwill i tried yours, when i go to DOS drop on a folder, it opens the folder that the right-clicked folder is in. ex.. game folder inside of stuff folder. right click on game>dosdrop. and it opens up the "stuff" folder. mabye this is what it is supposed to do but i dont know. just thought i would let you know.


Same thing here mate was supposed to Mention it Earlier...

A Wise Man Once Said...

QUOTE (King Solomon @ The Book of Ecclesiastes)
1:9
The thing that hath been, it is that which shall be; and that which is done is that which shall be done: and there is no new thing under the sun.
1:10
Is there any thing whereof it may be said, See, this is new? it hath been already of old time, which was before us.
1:11
There is no remembrance of former things; neither shall there be any remembrance of things that are to come with those that shall come after.


More Words of Wisdom

Wkd..

.../

Wicked Ain't no Pimp.
mad.gif
dissolutions
go to run type regedit.exe tongue.gif
Than go to the HKEY_CLASSES_ROOT\FOLDER\SHELL and delete the folder DosDrop and it'll "uninstall it"
wicked
QUOTE (Diss..)
Than go to the HKEY_CLASSES_ROOT\FOLDER\SHELL and delete the folder DosDrop and it'll "uninstall it"


Cheerz Mate that's What I Wanted..

Kinda Funny having 2 Drop to Dos thinggy's on Right Click Menu.

Cheerz..

Wkd..

.../

One more Question: How do I Dissable my Sig from Popping Up on every post that I Reply to...obviously without having to un-tick the stupid 'Enable Signature?' Box... I Mean through 'Board Settings or something?





h3llraz0r
dam that is a great tool, thanks very much relic!! really awesome biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.