Kill a process to delete a File
Hello, I am wondering if there is a way to delay a program from starting itself back up before deleting a file. The script i am using is below, but the program opens itself up before the file is deleted.
taskkill /im FCDBLog.exe /f
Del /f "C:\Program Files\Fortinet\Forticlient\Logs\FCLog.dat"
0 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question