Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Open programs
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
eNc




PostPosted: Mon Nov 22, 2004 5:35 pm   Post subject: Open programs

is there a command to run programs eg// notepad in java ?
Sponsor
Sponsor
Sponsor
sponsor
rizzix




PostPosted: Mon Nov 22, 2004 10:47 pm   Post subject: (No subject)

yea.. Runtime.getRuntime().exec("notepad.exe");

look here for more info: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: