I would like to know how to write a text file to a users C: drive with the current system date from a Logon Script?

Any help would be appreciated

Kind Regards