I would like to automatically delete a specific file (a cache file) whenever I open the game World of Warcraft. How would I accomplish this? Is this something that be done with a shortcut? Do I have to write a *.bat file?
You may create shortcut, for batch file (.bat or .cmd does not matter)
for Example (RunGame.cmd)
del "FullPathToYourCacheFile" start "" "FullPathToGameExecutable"
You may add specific game args after
"FullPathToGameExecutable" if the game needs them.
Yes, this can be done. Even without a batch file.
Create a shortcut and supply the following command as location:
cmd /c del "PathToCacheFile" & start "" "PathToGameExecutable"
To avoid seeing a command prompt popping up, right-click the shortcut, select
Run: Normal window to