Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Batch file 批处理文件以停止exe_Batch File_Task - Fatal编程技术网

Batch file 批处理文件以停止exe

Batch file 批处理文件以停止exe,batch-file,task,Batch File,Task,我有一个批处理文件,其代码为: start C:\Users\Downloads\IG\IG\IG\bin\Debug\IG.exe 哪个启动了.exe应用程序 我知道需要另一个批处理文件来停止此.exe 我试过: stop C:\Users\Downloads\IG\IG\IG\bin\Debug\IG.exe 及 但它们都不起作用 我知道这是一个简单的任务,有很多关于它的信息,但没有一个适合我 有什么帮助吗?如果您知道要终止的进程的名称,类似这样的方法会起作用: taskkill /IM

我有一个批处理文件,其代码为:

start C:\Users\Downloads\IG\IG\IG\bin\Debug\IG.exe
哪个启动了.exe应用程序

我知道需要另一个批处理文件来停止此.exe

我试过:

stop C:\Users\Downloads\IG\IG\IG\bin\Debug\IG.exe

但它们都不起作用

我知道这是一个简单的任务,有很多关于它的信息,但没有一个适合我


有什么帮助吗?

如果您知道要终止的进程的名称,类似这样的方法会起作用:

taskkill /IM IG.exe

来源:

如果您知道要终止的进程的名称,类似这样的操作将起作用:

taskkill /IM IG.exe

来源:

如果您知道要终止的进程的名称,类似这样的操作将起作用:

taskkill /IM IG.exe

来源:

如果您知道要终止的进程的名称,类似这样的操作将起作用:

taskkill /IM IG.exe
资料来源: