I'm looking for a way to automatically delete certain files every time they are created or when I close a specific program. I have a game that crashes on startup unless I delete two particular files first, which feels like a tedious hassle. Currently, I just have a shortcut that leads to the folder where these files are located, but I'm wondering if there's an easier solution to automate this process. I'm not very experienced with programming, so any help is appreciated!
1 Answer
You can create a PowerShell or Batch script to delete those files automatically, and then have it launch the game for you afterward. That way, you don't have to manually do it every time.

Absolutely! Reminds me of my early DOS days—it's like a blast from the past.