문제

I would want to close all the programs which are using a file on Windows. I've an example of what I want on Linux :

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

Thanks!

도움이 되었습니까?

해결책

Please change tag from bash to batch and Install Handle

This will solve the purpose

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top