Computing.Net > Forums > Disk Operating System > Suppress Or Hide Dos Screen In Batch File

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.

Suppress Or Hide Dos Screen In Batch File

Reply to Message Icon

Name: Lyndon
Date: January 12, 2001 at 15:55:27 Pacific
Comment:

I made a batch file and it is set to run when windows starts but I would like to hide the dos screen so you don't know anything is happening. I am pretty new to batch files and have not seen how to do this on any batch site. Any help is great!



Sponsored Link
Ads by Google

Response Number 1
Name: Bret
Date: January 12, 2001 at 16:55:30 Pacific
Reply:

In the properties for the icon you created in the startup group, make it run "MINIMIZED" then all that will happen is a taskbar icon will show up for a few seconds.


0

Response Number 2
Name: Michael
Date: January 13, 2001 at 08:04:41 Pacific
Reply:

When you set properties for a batch file under windows, it will make whats called a PIF file for it in the current directory. The best way I've found to do this is to make the batch file in the root directory of C:, then make a shortcut to it and the put that shortcut in your windows startup directory. Then edit the properties of that shortcut (I.E. set it to run minimized as Bret had mentioned). If you put the batch file in your windows startup directory and then edit the properties, then windows will make a pif file for it. Then you will have the batch file itself in the startup directory, and the pif file also. Which in a nutshell, will cause your batch file to run TWICE. So as I said, just make a shortcut to the batch file in the startup directory and edit it's properties so that the batch won't run twice.

Hope that helps,
-Michael


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 Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Suppress Or Hide Dos Screen In Batch File

DOS menu in batch file www.computing.net/answers/dos/dos-menu-in-batch-file/9382.html

dos color in batch file? www.computing.net/answers/dos/dos-color-in-batch-file/9720.html

user imput in batch files. www.computing.net/answers/dos/user-imput-in-batch-files/3282.html