Computing.Net > Forums > Windows 2000 > Hide CMD

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Hide CMD

Reply to Message Icon

Name: Breezee25
Date: February 12, 2003 at 03:47:32 Pacific
OS: Windows 2000 SP2
CPU/Ram: pentium 3/512M
Comment:

I run a batch file which run another program, but i want the dos window that being opended when running the batvh to be invisible. Is there any way to do it, from the batch, or there are any other options?



Sponsored Link
Ads by Google

Response Number 1
Name: Andy Supernova
Date: February 12, 2003 at 05:33:13 Pacific
Reply:

I only found that I can run it minimized if instead of running directly the .bat file I run the .lnk file (shortcut file) that points to that batch file. The shortcut can be then configured to run minimized.

Hope this helps!

Andrés


0

Response Number 2
Name: Tom
Date: February 12, 2003 at 05:52:16 Pacific
Reply:

If you are running the second batch file from the first you may be able to use the NUL setting.

In Batch1.bat use the following to run batch2:
--

[file location]\batch2.bat >NUL

--
Using > is the send to command, NUL is basically to not display anything.

Give it a go.

Tom


0

Response Number 3
Name: Andy Supernova
Date: February 12, 2003 at 10:44:17 Pacific
Reply:

I thought about that, Tom, but I suppossed Breeze just wanted the window to be invisible, not its contents :)

Andrés


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Hide CMD

Create variable in Windows 2000 CMD www.computing.net/answers/windows-2000/create-variable-in-windows-2000-cmd/46491.html

Hiding Bootmagic Partition? www.computing.net/answers/windows-2000/hiding-bootmagic-partition/50086.html

Frozen cmd window on Windows 2000 S www.computing.net/answers/windows-2000/frozen-cmd-window-on-windows-2000-s/60573.html