|I thought it might be using the dir parameter set but this doesnt work.|
Nope. That command provides a path, and FOR performs its own file lookup, and grabs the modified date. I don't know of any command that shows the created date, outside of "DIR /TC".
Really, the Command Prompt itself has no concept of date, and neither do most of its commands. You might want to look at another, better scripting language. VBScript/JScript comes with all versions of Windows since NT4/Win98, and PowerShell is included with Win7/Server2008.
How To Ask Questions The Smart Way