aspose file tools*
The moose likes Java in General and the fly likes Executing Windows Command using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Executing Windows Command using java" Watch "Executing Windows Command using java" New topic
Author

Executing Windows Command using java

V Senthil
Greenhorn

Joined: Jun 21, 2005
Posts: 8
Hi,

I want to execute CVS command line in Windows oparting System using Java. Could any one help me to execute windows command through Java program?

Thanks,
Senthil
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Please see the request to fix your display name here.

This is your second warning.

thanks,
Dave
Seb Mathe
Ranch Hand

Joined: Sep 28, 2005
Posts: 225
Look at java.lang.Runtime and its method exec.

But there are some Java libraries for dealing with CVS...google it.
[ October 07, 2005: Message edited by: Seb Mathe ]

Regards,<br />Seb<br /> <br />SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Executing Windows Command using java
 
Similar Threads
Problem With java Command
i want excute top command in linux using java
Java socket
exception in main thread
windows command