The problem could be the difference in environment variables or current working directory. In the system() line try adding the full path to that batch file and see if that works.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Online 21,951 posts
since Aug 2005