I want to automate a program that reads a file, processes it and then write it to a new file. The problem is that a new file comes in every day, and the contents are similar, the input file and output file names will change daily. The file name will be in the following format: SAPHR_Joiners_20110323. As you can see the first part of the name will be constant but the date will be unique…… How would i be able to do this?
Thanks alot guys
Can’t you just generate the filename dynamically in your program, and then open the corresponding file? So something like this: