I would like to write a script that will automatically unpack a file from a zipfile that gets created in a known file system location? There is a new zipfile written out every day. The underlying data is variable length (some records have more fields than others, but there are fields that are common to every record)text records that are delimited by a "|".
For example, the day 1 file will be called: abc1.dat.zip
the day 2 file will be called: abc2.dat.zip
The file could be written out to its own file OR appended to a master text file that includes all the unpacked files. However, I WOULD NOT want each days file to overwrite the previous days file
The folder location is "MYFOLDER"
The initial file name is "abc1.dat.zip" and will be incremented by 1 each day.
ps. We are in a windows environment and eventually these files will be combined together and linked to Access 2007 OR loaded into microsoft access (appended to the ABC table (which will be all of the files appended together (abc1 + abc2 + abc3, etc.)