Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set title on java app cmd window

 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all
im executing my java application throw cmd window
something like this :

now when the application is running i see in the cmd window the path to the java.exe
something like

how can i set this cmd window title to some string like "myapp" ?
 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there no way to control the java console ?
 
Scott Escue
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This really has absolutely nothing to do with java, but... you can open a new shell within an existing cmd prompt and give it a custom title using start "<title>"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic