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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimize a command window

Status
Not open for further replies.
Joined
Oct 24, 2002
Messages
512
Location
US
I've decided to use a batch file to copy my frontend Access database from the server to the user's PC if it's a newer version. The batch file also launches the application and the user is prompted for their database password. In case you're interested, I found the instructions at
Here's my problem. The batch file appears in a small command window at the top of my screen and forces my database application to use only the bottom half of my screen.

Does anybody know how I can force the command window to minimize so that, hopefully, my database will use the entire screen? I don't find a DOS command that performs this function. (e.g., I was hoping to type Min or Minimize in the first line of my batch file but no such luck.)

I've posted this plea for help in the Access Other Topics forum too but no answer yet.
Ann
 
If you access the properties for the command prompt, on the shortcut tab, there's a run dropdown box where you can choose to run in normal windows, minimised or maximised.
 
Thanks for the feedback. I changed that setting and now when I select the Command Prompt from the Start menu it does, in fact, immediately minimize. Strangely enough though, when I click the shortcut that runs the batch file the command window acts just as I mentioned before (i.e., top half of the window with my application in the bottom half of the window).

Even if it did work, I'd need to find a way to turn the minimize property on and off in my batch file so my users would see the command window normally when they're not running my application.

Any other ideas? Ann
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top