PDA

View Full Version : [Release] cmdhide.exe (cmdow replacement)



Siginet
07-07-2006, 12:31 PM
Download here:
cmdhide (http://www.siginetsoftware.com/forum/downloads.php?do=file&id=12)

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:

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:

Title MyBatchWindow

cmdhide /name: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:

cmdhide "X:\path\to\mybatch.bat"


v1.3

1. Bug fixed when run without path.
v1.2
1. Fixed bug where Environment Variables were not parsed.
2. Fixed bug where if path was not given the batch was not run.
v1.1
1. Fixed bug where if the path is not given an error would occur.
2. If file does not exist an error would occur... now there will be no indication at all.

pemdas
01-28-2007, 08:19 PM
Link is broken. I cannot download cmdhide.exe

Tasslehoff
01-28-2007, 08:44 PM
Ah!!! funny I was looking for it as well. I only get a damaged 48.4kb zip file :???: doh.

Siginet
01-29-2007, 01:58 AM
Sorry. Link fixed. :D

komsboy_more
01-31-2007, 10:06 AM
thank you ......................................

Smile
02-06-2007, 05:15 AM
Great tool

ENU_user
02-09-2007, 10:34 PM
i tried cmdhide "X:\path\to\mybatch.bat"
from my current location
cmdhide "mybatch.bat"
no Go :(
and does this have start /wait in it ?
cmdhide "*.bat"
or will that complicate things
i wanted it the to work with a "FOR" LooP

Siginet
02-09-2007, 11:50 PM
i tried cmdhide "X:\path\to\mybatch.bat"
from my current location
cmdhide "mybatch.bat"
no Go :(
and does this have start /wait in it ?
cmdhide "*.bat"
or will that complicate things
i wanted it the to work with a "FOR" LooP


I haven't used cmdhide in a long time... and I wrote it a long time ago. ;) So bare with me. :)

Where is your cmdhide.exe file located?
cmdhide "X:\path\to\mybatch.bat" should definatly work if you throw cmdhide.exe in the system32 directory or are running your batch in the same folder as cmdhide.exe.

If it doesn't then maybe I'll have a look into it and see if I can reproduce the error.

As for cmdhide "*.bat" ... It should work in theory... but I would have to look at my source code because I don't remember what I wrote. lol!

I actually thought cmdhide.exe wasn't popular at all so I stopped developing it. Allthough I have noticed latley that people are still using it all over the internet. So any ways I can improve on it I will.

As for the Start/ Wait... Again I need to look at my source to find out. I think it does wait until the app is finished before it stops... but I am not sure. If I need to I can allways add some switches to allow the user to choose wether cmdhide waits or not.

Edit: Now that I am thinking... I doubt if * represents a wild character in this case... but it might. If not I can work on something.

hasl
02-15-2007, 07:46 PM
greets jobs sir.keep it up

rootw0rm
01-16-2008, 06:44 PM
you've gotta be fucking kidding me. this is autoit bullshit. lol

Siginet
01-16-2008, 08:14 PM
you've gotta be fucking kidding me. this is autoit bullshit. lol

Spoken like a true newbie. ;)

What planet you been living on the past few years? Autoit can do anything any other language can do nowadays.

rootw0rm
01-16-2008, 09:48 PM
good jebus, i just noticed the rvm integrator uses autoit too. what has the world come to? didn't you learn in school that respectable people don't use autoit?

Siginet
01-17-2008, 04:02 PM
If you have something against the way I make my programs then why come to my site anyways?? Hundreds of Thousands of people across the world have a much different opinion about these tools then you. So if you don't like it then don't use it.

Kim
03-27-2008, 11:19 PM
Which is better, your program (um haven't tried but will) or any of these commands ?


HOWTO RUN A BATCH FILE IN WINDOWS WITHOUT IT SHOWING:
-----------------------------------------------------


MINIMIZED:

Start Run the following line, Replace the "MySubFolder" with your batch file path

cmd /c "start /min C:\MySubfolder\MyBatchFile.bat"

-----------------------------------------------------

INVISIBLE:

Save the following line as invisible.vbs (use Notepad Save As... All Files)

CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False

Confirm you have Scripting installed (By typing wscript in the Start Run dialog)

Start Run the following line, Replace the "MySubFolder" with your file paths

wscript "C:\MySubfolder\invisible.vbs" "C:\MySubfolder\MyBatchFile.bat"

-----------------------------------------------------

RUNNING FROM CD: (using Environment Variables)

"C:\Windows" can be replaced with "%windir%" (if your Windows path is unknown)
"C:\MySubfolder" can be replaced with "%cdrom%" (if your batch file is on CD)
"wscript" can be given the full path string - %windir%\system32\wscript.exe
"cmd" can be given the full path string - %windir%\system32\cmd.exe

CD EXAMPLES:

Note:
"MySubfolder" denotes your subfolder name
"wscript.exe" exists in %windir%\system32
"%CDROM%" you must be running this from CD

Minimized:

%windir%\system32\cmd.exe /c "start /min %CDROM%\MySubfolder\MyBatchFile.bat"

Invisible:

%windir%\system32\wscript.exe "%CDROM%\MySubfolder\invisible.vbs" "%CDROM%\MySubfolder\MyBatchFile.bat"

-----------------------------------------------------

Using Autoplay Menu Builder Program:

Minimize:

Program:
%SysDir%\cmd.exe
Parameter:
/c "start /min %cdrom%\MySubfolder\MyBatchFile.bat"

Invisible:

Program:
%SysDir%\wscript.exe
Parameter:
"%CDROM%\MySubfolder\invisible.vbs" "%CDROM%\MySubfolder\MyBatchFile.bat"

Siginet
03-28-2008, 11:12 AM
Actually I think your best method would be using cWnd
http://www.ryanvm.net/forum/viewtopic.php?t=5017&highlight=cmdow

It was created by n7Epsilon. It is a very small exe that you can use in your scripts. :) My tool was created a long time ago when cmdow was suddenly being flagged as a virus. It was just my quick fix for everyone. But now that cWnd is made it is the best choice. Very small.

hiii
12-24-2008, 11:44 PM
thaaaaaaaaaaaaa

klonos
05-02-2009, 12:59 PM
link doesn't work again :(

simpoe2009
05-14-2009, 09:25 PM
Dear, How can i download the cmdhide.ext or cmdow.exe ?
because the link is disable ! :confused:

Siginet
05-15-2009, 09:14 AM
Actually I think your best method would be using cWnd
http://www.ryanvm.net/forum/viewtopic.php?t=5017&highlight=cmdow

It was created by n7Epsilon. It is a very small exe that you can use in your scripts. :) My tool was created a long time ago when cmdow was suddenly being flagged as a virus. It was just my quick fix for everyone. But now that cWnd is made it is the best choice. Very small.

This is the tool I reccommend now. It is much better than cmdhide.exe. ;)

simpoe2009
05-15-2009, 04:58 PM
oh, I see !
Thanks a lot !

Hacknet
07-13-2010, 12:16 PM
I cant dowload this :(!
The link as dead!

虫子樱桃
09-09-2010, 07:38 PM
yeah,it sounds great.but I did it with au3.anyway,thanks for your sharing!