You are here

Run batch files without console window

5 posts / 0 new
Last post
forgotmyoldname
Offline
Last seen: 17 years 3 months ago
Joined: 2007-10-03 09:04
Run batch files without console window
Hilarious
Offline
Last seen: 11 years 7 months ago
Joined: 2007-10-05 16:52
Has anybody tried this

Has anybody tried this yet?

It looks pregnant with possibilities ...if only I can work out how to use it!

Although I ran 'run notepad.exe' a few times, including after renaming it to 'runnotepad.exe', no notepad appeared. Until I looked in Task Manager and saw 3 instances of notepad.exe running invisibly!
To test it with a self-limiting program I tried running a Q&D batch file to xcopy notepad.exe to nitpad.exe (all with absolute addressing) and it created no error messages - either when run from the console or the Windows 'Run' box - and no nitpad.exe either.

Hil

RossGoodman
Offline
Last seen: 3 years 7 months ago
Joined: 2005-12-19 12:51
Not this but...

I found a similar thing called cmdow, need to google for it, I can't remember the URL.
An example would be:

@echo off
..\cmdow\cmdow @ /hid
..\jre1.5.0_06\bin\java -cp lib\freemind.jar;lib\ant\lib\jaxb-api.jar;lib\ant\lib\jaxb-impl.jar;lib\ant\lib\jaxb-libs.jar;lib\ant\lib\namespace.jar;lib\ant\lib\relaxngDatatype.jar;lib\ant\lib\xsdlib.jar;lib\ant\lib\jax-qname.jar;lib\ant\lib\sax.jar;lib\ant\lib\dom.jar freemind.main.FreeMind
..\cmdow\cmdow @ /vis

This hides the java window that pops up when I run freemind using the JRE on my USB.

[Moderator RM: Code goes in PRE tags]

m2
Offline
Last seen: 13 years 11 months ago
Joined: 2006-12-12 12:00
hidec Usage: hidec

hidec
Usage:
hidec yourexe.exe

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 7 months 3 days ago
Joined: 2006-11-18 10:26
Here's another

NirCmd

This thread has some examples of all these apps.

http://www.msfn.org/board/alternative_cmdow_HID_t49103.html

Here's the link to 'cmdow'...but the thread above talked me into liking NirCmd better.

http://www.commandline.co.uk/cmdow/

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

Log in or register to post comments