在Windows上使用文件关闭进程

时间:2014-04-22 07:52:39

标签: windows shell batch-file process

我想要关闭所有在Windows上使用文件的程序。我在Linux上有一个我想要的例子:

pids=`lsof | grep $fic | grep -v "grep" | tr -d '\t' | cut -d" " -f2`

谢谢!

1 个答案:

答案 0 :(得分:3)

请将标签从bash更改为批次 并安装Handle

这将解决目的