Renaming a file to date and time after unziped
I have a google earth kmz that is downloaded to our root directory. I am wanting to see how to rename this file after it is droped into our directory. Here is what I have so far.
<cfif FileExists("#expandpath(".")#/temp.zip")>
Got it .... extract....<br />
<cfzip action="unzip" file="#expandpath(".")#/temp.zip"
destination="#expandpath(".")#"
overwrite="true">
</cfzip>
Right now the code above unzips the file and places the KMZ in the root drive. I wanted to rename the file the current date like as follows RT_2010_03_17_12_00.kmz
I have no idea how to accomplish this.
