darkfader Posted July 29, 2006 Posted July 29, 2006 Currently, I use a better command-here script that works with UNC paths, sets the window title and calls env.cmd that might exist in the upper directories. Oh and the best thing is that you can press the space bar to open it! (because of the ampersand before the space The programs and cmd.exe folder and env.cmd thing might need some editing to incorporate it in nLite.cmd_here.reg:Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Folder\shell\cmdhere]@="Cmd& Here"[HKEY_CLASSES_ROOT\Folder\shell\cmdhere\command]@="C:\\WINDOWS\\system32\\cmd.exe /k c:\\programs\\cmd_here.cmd \"%0\" \"%1\""cmd_here.cmd:@echo offtitle %1pushd:loopif exist env.cmd call env.cmdcd ..if not "%CD:~0,-3%"=="" goto looppopdpushd %2cls
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now