Excuse me, How is "Stoping a program using cmd"?
| SitePoint Sponsor |



Excuse me, How is "Stoping a program using cmd"?
-1/2=999?



maybe restart Huh!
-1/2=999?
I'm afraid I don't understand your question, borna. Could you state it more clearly?
Kevin Yank
CTO, sitepoint.com
I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
Baby’s got back—a hard back, that is: The Ultimate CSS Reference



Sure, If I use cmd for compiling/running a java file, and it waits for client to enter some line as input [I could provide some code, if required] then what should I do then?
Second, what should I do if I clicked on an Executable Jar file and if started [for example a jar file which runs a batch file] then how to stop? The problem is that no batch file opens just the command inside it will be run [via clicking on jar file].
-1/2=999?
I'm still having a hard time understanding your questions, so forgive me if the answers I give don't solve your problem.
If what you're asking is how to terminate a Java program that is waiting for user input at the command prompt, under Windows you can usually do this by hitting Ctrl-C. If that doesn't work, hit Ctrl-Alt-Del to open the Windows Task Manager, then on the Processes tab, find the java.exe or javaw.exe process that corresponds to your program, right click it, and select the option to terminate the process.Originally Posted by borna
Again, using the Windows Task Manager to terminate the Java process is probably your best bet, here.Second, what should I do if I clicked on an Executable Jar file and if started [for example a jar file which runs a batch file] then how to stop? The problem is that no batch file opens just the command inside it will be run [via clicking on jar file].
Kevin Yank
CTO, sitepoint.com
I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
Baby’s got back—a hard back, that is: The Ultimate CSS Reference



Thanks, it would work in any case.
-1/2=999?
Bookmarks