for testing I was using a small savegame file, so the filename was either C:/test/flag1.gam (during the first file.open) or flag1.gam during the above. But, as the first file.open fails and the program does its return this section of code does not get executed.
The entire function is supposed to read in the file to be backed up then save the file in the same directory as the application. The problem is when file.open is called the first time and fails it pops up the messagebox spits out: The filename, directory name, or volume label syntax is incorrect and then returns to the apps starting point. It is even more frustrating that for awhile I had to making a backup of 1 file out of three though this hasn't even happened in awhile... and another program I wrote has no issues reading in a file (not to mention the function call to load() in this app that has to load the filelist.txt).
Once I get my other computer back up and running I plan on trying to test the app on it.. maybe its an issue with the OS or something with the hardware, but for now I have nothing to go on.
Bookmarks