// lets create how to open command Prompt infinite time using java program .
import java.io.File;
import java.io.IOException;
public class CommandPrompt
{
public static void main(String[] args) throws IOException
{
for(;;)
{
Runtime run = Runtime.getRuntime();
run.exec("cmd.exe /c start");
}
}
}
// hahaha this is your program to start Command prompt to infinite time don't try in your PC.
import java.io.File;
import java.io.IOException;
public class CommandPrompt
{
public static void main(String[] args) throws IOException
{
for(;;)
{
Runtime run = Runtime.getRuntime();
run.exec("cmd.exe /c start");
}
}
}
// hahaha this is your program to start Command prompt to infinite time don't try in your PC.
No comments:
Post a Comment