wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android 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: http://aspose.com/file-tools
subject: run dos window in minimized mode
Similar Threads
debug mode (jpda) not starting
oop-1 Class path
Checked Exceptions - What did I wrong?
Exit to MS DOS
running in dos, not command window in windows