How can I set up an automatic file deletion for a game?

0
3
Asked By GamerNinja123 On

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

Answered By TechWhiz45 On

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.

OldSchoolCoder -

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

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.