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
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!
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.
Summary: I am creating a DOS batch file that will automatically run when a user puts a disk into the CD ROM. I will prompt the user for 1 of 3 options. This will in turn point to a specific folder on the CD R...
Summary: this message is already at the bottom of one of my other posts, but I figured that since it was sort of unrelated, it should have it's own post. is there any way I could have user imputs in a batch fi...