1.

Solve : Hiding a Batch?

Answer»

Hi... I have a question...

how can i hide a .Bat ?what do you mean by hide ?i open a program with my .bat-file
    LIKE: Internet explorer.

and i will hide my Black screen of my .bat !

and i can agains show my screen !

an hide/show or how must i mean This MAY or may not be what you are looking for:

Create a shortcut to the batch file.
Rename the batch file to whatever you like
Right-click on the shortcut and select properties
In the properties dialog bot change the text field labeled RUN to "MINIMIZE"

Now when you execute your batch file from the shortcut a DOS bot will be suppressed and
the only evidence if the running batch file will be a listing in your task tray.

This is assuming you have Windows OS.
Quote from: iONik on November 29, 2008, 03:54:09 PM

the only evidence if the running batch file will be a listing in your task tray.

Is that the *censored* child of an incestuous union between the task bar and the system tray? I think we should be TOLD!

Quote
This is assuming you have Windows OS.

Aw SHUCKS! I was hoping this would work in Solaris!

Plzzzzzzzz give instruxions for so doing, Sir.
Quote from: Dias de verano on November 29, 2008, 05:03:57 PM
Quote from: iONik on November 29, 2008, 03:54:09 PM
the only evidence if the running batch file will be a listing in your task tray.

Is that the ba****d child of an incestuous union between the task bar and the system tray? I think we should be told!

Quote
This is assuming you have Windows OS.

Aw shucks! I was hoping this would work in Solaris!

Plzzzzzzzz give instruxions for so doing, Sir.

i will hide my batch window .. but how must i do this automaticly ?plz use mshta.exe to launch .bat files when you'd like to hide the black window
Quote
mshta "javascript:new ActiveXObject('WScript.Shell').Run('c:\\mybatch.bat',0);close()"

or you can use a .js file
Quote
new ActiveXObject('WScript.Shell').Run('c:\\mybatch.bat',0)

or .vbs file...yes you can hide consel

use this program nircmd


Discussion

No Comment Found