[Release] cmdhide.exe - (cmdow.exe replacement)

Forum for anything else which doesn't fit in the above forums. Site feedback, random talk, whatever, are welcome.
Post Reply
User avatar
Siginet
Site Admin
Posts: 2894
Joined: Fri May 27, 2005 1:07 pm
Location: Planet Earth
Contact:

[Release] cmdhide.exe - (cmdow.exe replacement)

Post by Siginet » Fri Jul 07, 2006 3:41 pm

cmdhide.exe

This small tool is useful for hiding ugly cmd windows.

It might not be quite as effective as cmdow.exe but cmdow.exe is now triggered by antivirus programs as a virus. cmdow.exe is not a virus... but since the AV makers decided to destroy cmdow.exe I came up with this alternative.

It works a little diffrently than cmdow. Here is how you use it:

Most people will want to place the cmdhide.exe file in the system32 directory so they don't have to specify the path to cmdhide.exe in their batch files.

There are 2 ways to use it.

1. Hide one Batch File
Let's say you want to hide only one batch file. The batch file you want to hide is the batch you are going to start. In this case you would want to call cmdhide.exe with the title of the batch window. So somewhere in your batch you need to make a Title for the batch window like this:

Code: Select all

Title MyBatchWindow

So now your Window Title is "MyBatchWindow"

Now in your batch you will want to call cmdhide.exe with the window title like this:

Code: Select all

Title MyBatchWindow
cmdhide MyBatchWindow
*Make sure you put your window title between quotes if it has spaces in it.

Now when the batch starts you will see the cmd window for a second then it will dissapear. :)

2. Hide batches called from other scripts
This is my favorite and will probably be the most used because it never flashes the batch window at all. It is hidden from the get go. Also it is very simple to do.

From within your main script if you are gonna call any batch windows you want to hide all you have to do is call cmdhide.exe with the path to the batch you want to hide.
Example:

Code: Select all

cmdhide "X:\path\to\mybatch.bat"
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Mon Jul 10, 2006 7:42 am

Perfect! Will definatly give this one a try.

User avatar
T D
Posts: 200
Joined: Mon May 15, 2006 6:36 pm
Location: ::1 (127.0.0.1)

Post by T D » Thu Jul 13, 2006 1:44 pm

Hey! I just made a cab addon for it :P
Image

rappinhood
Posts: 9
Joined: Mon Mar 13, 2006 7:26 pm
Location: Birmingham, AL

Post by rappinhood » Sat Jul 15, 2006 4:14 pm

Does it work from cmdlines.txt?

User avatar
Siginet
Site Admin
Posts: 2894
Joined: Fri May 27, 2005 1:07 pm
Location: Planet Earth
Contact:

Post by Siginet » Sat Jul 15, 2006 4:16 pm

It should but I haven't tested it.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

User avatar
crashfly
Posts: 789
Joined: Thu Mar 13, 2008 11:39 pm
Location: Arkansas, USA

Post by crashfly » Sat Aug 20, 2011 11:06 pm

For those looking for this on Siginet's "changed" forum, it is here: http://siginetsoftware.com/forum/showth ... acement%29

The posted link is incorrect.

However, one will eventually get to the part where Siginet endorses use of the console hiding tool by n7Epsilon. For those who are interested, that link is here: http://www.ryanvm.net/forum/viewtopic.php?t=5017
A mind is like a parachute, it only functions when it is open.
--Anonymous

How to Ask Questions the Smart Way

Post Reply