Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run dos window minimized

Status
Not open for further replies.

oldnewbie

Technical User
Dec 6, 2000
9,142
CA
Hi all,

When running a dos batch file from Flash with Windows ME, I can run the dos window minimized by setting it under the program tab of the batch file's properties.

How can the same thing be done with Windows 2000?
I'm told that there is no Program tab when looking at the batch file's properties. How can you run a minimized batch file on 2000?

Thanks. Regards,

oldman3.gif


Don't worry, if my reply is wrong, BillWatson will clean it up for me!
 
You can use the Start command.

e.g.

START "Sample batch file" /D%TEMP% /MIN [/B] sample.bat

The /B won't create a window for the batch file if you use it. If you use /B, /MIN isn't needed.
 
So if I understand this correctly this would be calling a batch file within another batch file?

This original batch file is used to start another .exe from Flash. It already includes a START command and apparently adding the /MIN switch only had as an effect to minimised the .exe called and not the batch file itself. Regards,

oldman3.gif


Don't worry, if my reply is wrong, BillWatson will clean it up for me!
 
The other option you could try is creating a shortcut to the batch file, then you will have the options to set it to run minimized, then run the shortcut from flash.

Daniel.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top