[AccessD] A2003:Rename a file in a folder

Darren DICK darrend at nimble.com.au
Tue Oct 24 08:55:03 CDT 2006


Hi all
 
I have a file that will be always named the same - EG myCoolCSVfile.csv
 
It will be dumped into a folder...say C:\MyCoolFolder at random times
 
I need some code to Check the C:\myCoolFolder to see if the file
myCoolCSVfile.csv file exists in the folder - and if it does to rename it to
YYMMDDHHMMSS.csv
 
Where YY = Year MM = Month DD = Day etc etc
 
Does anyone have anything that might suit?
 
Many thanks in advance
 
Darren



More information about the AccessD mailing list