Batch File Execution Order

wanamingo

Distinguished
Jan 21, 2011
47
0
18,580
Hello I have somewhat of an advanced Batch file question.......

Some background:
One user in our company is having issues with some software. The user needs to delete certain files to get his info to display correctly ~1-10 times a week. We have submitted a case to the company but got the typical "This is a bug we are aware of and are working on a fix"

What I want to do is link to a batch file that deletes these files when the user runs the program. But, I need the batch file to fully execute before the app is launched. How would I reference that and how would I keep the program from launching before the batch file has completed?

Thanks for the help and I will select best answer ;)