• Post Reply Bookmark Topic Watch Topic
  • New Topic

using .bat file in c++ or java

 
tamiru woldeyesus
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am tring to open a notepad from my java program I got a problem in fixing it. would u please send me a piece of code which can do this .
thanks
 
IM Mahesh
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can make use of java.lang.Runtime for this purpose. Have a look at sun's documentation for this class.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article in particular may be helpful.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!