I want to replace some files in folder, and I see that there are multiple process under the folder that prevent me from doing that.
How can I kill all process process that run under a folder?
Using powershell:
cd "%*DestinationPath*%"
Get-Process | ?{$_.path -and (test-path (split-path $_.path -leaf ))} | Stop-Process -Force