gpt4 book ai didi

CMD/im (taskkill) 是做什么的?

转载 作者:行者123 更新时间:2023-12-03 12:03:09 28 4
gpt4 key购买 nike

我刚刚阅读了以下命令:
taskkill /f /im something.exe
我读到了 /f强制关闭任务,但是 /im 做什么?做?

最佳答案

它告诉 taskkill下一个参数something.exe是图像名称,也就是可执行文件名称

C:\>taskkill /?

TASKKILL [/S system [/U username [/P [password]]]]
{ [/FI filter] [/PID processid | /IM imagename] } [/T] [/F]

Description:
This tool is used to terminate tasks by process id (PID) or image name.

Parameter List:
/S system Specifies the remote system to connect to.

/U [domain\]user Specifies the user context under which the
command should execute.

/P [password] Specifies the password for the given user
context. Prompts for input if omitted.

/FI filter Applies a filter to select a set of tasks.
Allows "*" to be used. ex. imagename eq acme*

/PID processid Specifies the PID of the process to be terminated.
Use TaskList to get the PID.

/IM imagename Specifies the image name of the process
to be terminated. Wildcard '*' can be used
to specify all tasks or image names.

/T Terminates the specified process and any
child processes which were started by it.

/F Specifies to forcefully terminate the process(es).

/? Displays this help message.

关于CMD/im (taskkill) 是做什么的?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21120465/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com