This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Java in General and the fly likes run dos window in minimized mode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "run dos window in minimized mode" Watch "run dos window in minimized mode" New topic

run dos window in minimized mode

shilpa reddy

Joined: Dec 12, 2000
Posts: 29
I have the following command to execute Oracle's export utility from command line.OS is Windows 2000
Runtime.getRuntime().exec(exp user/pass@db FILE=C:\abc.dmp ) ;
However, the DOS window shows up when the process starts executing. How do I minmize the Dos window.
Any suggestions,
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
You would need to find out from Oracle if they have a version of their exp program that handles the DOS window differently.

"JavaRanch, where the deer and the Certified play" - David O'Meara
shilpa reddy

Joined: Dec 12, 2000
Posts: 29
Thanks Cindy,
I will do that.
But is it possible to pass any command line parameters which will suppress the dos window from popping up ?
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
perhaps you can deal with the start command ?
if you want to open foo.doc in word, then you can simply type following in the command line: start foo.doc. start also takes some parameters (MIN is one of them).
this only works if the app is registered/the extension is registered with a app.
I agree. Here's the link:
subject: run dos window in minimized mode
It's not a secret anymore!