hi all,
ive this problem,
i need to search 3 files, that can be located on 1 of 5 drives, in 3 diferent dirs on that drives, the files are always named OK.txt , error.txt and unknown.txt
so i want to programm a script that searchs the drives for the files ( i think with dir into an array),
the scripts needs to check if the file that is found is from today other wise it shoud search the other drives if nothing it found then the file from yesterday
after finding the file it should rename the file with the curent date (done with localtime and rename i think)
then it shoud copy the 3 files to a specific folder.
so my problem i dont even have a clue how i can find out the date of a file.
the rename and copy thing is no problem i think so far ;D
but for me the search of the file and then when a file is found the check when it was created.
thx for help
PS: its for windows ,D