jQuery in Action, 3rd edition
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


Win a copy of Building Microservices this week in the Design forum!
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how to clear the cmd?
 
It's not a secret anymore!