• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Executing Windows Command using java

 
V Senthil
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please see the request to fix your display name here.

This is your second warning.

thanks,
Dave
 
Seb Mathe
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic