{"id":4983,"date":"2014-03-30T17:28:20","date_gmt":"2014-03-30T17:28:20","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/running-interactive-bat-file-from-java-collection-of-common-programming-errors\/"},"modified":"2014-03-30T17:28:20","modified_gmt":"2014-03-30T17:28:20","slug":"running-interactive-bat-file-from-java-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/running-interactive-bat-file-from-java-collection-of-common-programming-errors\/","title":{"rendered":"Running interactive bat file from java?-Collection of common programming errors"},"content":{"rendered":"<p>Windows has a start command:<\/p>\n<pre><code>C:\\&gt;start \/?\nStarts a separate window to run a specified program or command.\n\nSTART [\"title\"] [\/D path] [\/I] [\/MIN] [\/MAX] [\/SEPARATE | \/SHARED]\n      [\/LOW | \/NORMAL | \/HIGH | \/REALTIME | \/ABOVENORMAL | \/BELOWNORMAL]\n      [\/AFFINITY ] [\/WAIT] [\/B] [command\/program]\n      [parameters]\n\n    \"title\"     Title to display in  window title bar.\n    path        Starting directory\n    B           Start application without creating a new window. The\n                application has ^C handling ignored. Unless the application\n                enables ^C processing, ^Break is the only way to interrupt\n                the application\n    I           The new environment will be the original environment passed\n                to the cmd.exe and not the current environment.\n    MIN         Start window minimized\n    MAX         Start window maximized\n    SEPARATE    Start 16-bit Windows program in separate memory space\n    SHARED      Start 16-bit Windows program in shared memory space\n    LOW         Start application in the IDLE priority class\n    NORMAL      Start application in the NORMAL priority class\n    HIGH        Start application in the HIGH priority class\n    REALTIME    Start application in the REALTIME priority class\nPress any key to continue . . .\n<\/code><\/pre>\n<p>Try to run start (and not cmd). If that does&#8217;nt help you may catch user in\/output and pipe to the Process.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows has a start command: C:\\&gt;start \/? Starts a separate window to run a specified program or command. START [&#8220;title&#8221;] [\/D path] [\/I] [\/MIN] [\/MAX] [\/SEPARATE | \/SHARED] [\/LOW | \/NORMAL | \/HIGH | \/REALTIME | \/ABOVENORMAL | \/BELOWNORMAL] [\/AFFINITY ] [\/WAIT] [\/B] [command\/program] [parameters] &#8220;title&#8221; Title to display in window title bar. path Starting [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4983","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4983"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4983\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}