This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how to clear the cmd? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to clear the cmd?" Watch "how to clear the cmd?" New topic
Author

how to clear the cmd?

n.chenththuran
Ranch Hand

Joined: Jun 16, 2004
Posts: 41
I am trying to find out how to clear an msdos screen using java. can anyone write a small example for me
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
for(int x = 0; x < 30; x++) System.out.println();
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to clear the cmd?