Master Coding
home
download
menu 3
feed
search
Wednesday, 15 June 2011
Calling Windows Runtime Commands
Calling Windows Runtime Commands
import java.io.*;
public class Win
{
public static void main(String[] Miller) throws IOException
{
Process process =
Runtime.getRuntime().exec("/C:WINNTsystem32calculator.exe");
process.waitFor();
}
}
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)