ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

replace cmd

(1/2) > >>

alexp:
I use console as a frontend for cmd if I need to do any work in it.

What I'm looking for is if anyone knows of any way of catching any cmd windows which try to open (like if I run a batch file or a program opens one up) and open console up instead.

I'm not sure if this is the right scetion for this but I'll post it here anyway.

jpfx:
how about renaming console.exe to cmd.exe?

Darwin:
Good suggestion (from jpfx). To do this under both Win2k and WinXP is a bit of a bugger, though. For info on how to do it, check out the faq at the metapad site: www.liquidninja.com.

Here's how to do it for XP: http://www.liquidninja.com/metapad/faq.html#Q28
Here's Win2k: http://www.liquidninja.com/metapad/faq.html#Q17

You can substitute cmd.exe for notepad.exe and follow the successfully follow the instructions (I think ;)).

Zero3K:
Here's what I did, I renamed Cmd.exe to cmd.bak and Console.exe to cmd.exe. Then I set the ComSpec environment variable to C:\Windows\System32\cmd.bak. After that, I coped the files the Console.exe requires to C:\Windows\System32.

alexp:
Here's what I did, I renamed Cmd.exe to cmd.bak and Console.exe to cmd.exe. Then I set the ComSpec environment variable to C:\Windows\System32\cmd.bak. After that, I coped the files the Console.exe requires to C:\Windows\System32.
-Zero3K (October 26, 2005, 10:01 PM)
--- End quote ---
Have you actually replaced cmd with console? What do you mean by setting the ComSpec environment?

Navigation

[0] Message Index

[#] Next page

Go to full version