I have a project that I need to complete to run unattended on windows computer.
I would like to schedule it to run at a set interval or to have it watch a folder for activity and then process the files.
I have heard that C is a good programming language to use and am hoping that I can accomplish this task qucikly, here it is:
I need to take files that are placed into a directory and based on the last 4 characters of the file name place them into different directories on the same computer hard drive.
an example would be these files in the original directory
file1v004.pdf
file2v009.pdf
file3v004.pdf
file4v008.pdf
they should be placed into the correct directories as here
directory004
-file1v004.pdf
-file3v004.pdf
directory008
-file4v008.pdf
directory009
-file2v009.pdf
Any help in finding functions or procedures that I can incorporate into/with my own code would be helpful.
I have written BASIC programs in the distant past and also can write ASP code but C is too new for me to just dive in and start.
Thanks for any help.