I'm currently developing a program which interfaces with Microsoft's Scheduled Task Program (Schtasks.exe), here’s the basic gist:
A user uses A GUI to connect to two databases systems (currently MySQL, Informix, or MS Sqlserver) and selects common fields between two tables and creates a "Sync job" in order to synchronize the two tables selected columns. The program creates a batch file that holds all of the parameter for the specified task, and creates a new task in scheduled tasks to fire the batch file at (x) time daily.
I'm at a point where I’m starting to test the scheduled aspect of the program. Running the program through Sharp Develops debugger, everything fires very smoothly. But when the program is used by itself with the batch file holding the parameters, the MySQL database (Xcart) refuses my connection.
After testing many possible reasons for this I have determined that the case of the problem is the fact that our root user password (from xcart) for database connection ends with a carrot (^). It seems that the carrot is causing problems when the password is being read from the batch file. Can anyone tell me why this is the case?
A user uses A GUI to connect to two databases systems (currently MySQL, Informix, or MS Sqlserver) and selects common fields between two tables and creates a "Sync job" in order to synchronize the two tables selected columns. The program creates a batch file that holds all of the parameter for the specified task, and creates a new task in scheduled tasks to fire the batch file at (x) time daily.
I'm at a point where I’m starting to test the scheduled aspect of the program. Running the program through Sharp Develops debugger, everything fires very smoothly. But when the program is used by itself with the batch file holding the parameters, the MySQL database (Xcart) refuses my connection.
After testing many possible reasons for this I have determined that the case of the problem is the fact that our root user password (from xcart) for database connection ends with a carrot (^). It seems that the carrot is causing problems when the password is being read from the batch file. Can anyone tell me why this is the case?