Windows Bat

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • odefta
    New Member
    • Jul 2007
    • 18

    #1

    Windows Bat

    Hello,

    I have a bat file in which I run a java command.
    I've made a shortcut to that java file, and work.
    But in the background a cmd console appear.
    How can I hide the cmd window?

    Thanks,
  • odefta
    New Member
    • Jul 2007
    • 18

    #2
    Originally posted by odefta
    Hello,

    I have a bat file in which I run a java command.
    I've made a shortcut to that java file, and work.
    But in the background a cmd console appear.
    How can I hide the cmd window?

    Thanks,
    I found the answer: use javaw instead of java

    Comment

    • bartonc
      Recognized Expert Expert
      • Sep 2006
      • 6478

      #3
      Originally posted by odefta
      I found the answer: use javaw instead of java
      That's great information to have. Thank you for providing that.

      It's just the same in Python. One interpreter called python.exe that puts up the command prompt for feedback and one called pythonw.exe that doesn't.

      Comment

      Working...