By all means... take that batch script and update to do what you want. It probably wouldn't take too much effort.