I'm using kill to delete files but I've got a large list of files I'm going to kill(delete) but some may not be there but I want to suppress the error that the file isnt there, or better yet if there was a way to check if (file.exe exists) { kill C:\Path\to\file.exe }
Does anyone have any suggestions for this?
Does anyone have any suggestions for this?