Resolve file not found errors when running batch files by using cd /d to set the correct working directory before launching executables.