Code: Select all
date /T >> c:\test.txtCode: Select all
date >> c:\test.txtThe /T flag makes it just spit out the date, if you forget the /T flag it will ask for a new date ( and you dont want that ).
Also it is possible that your date is not set on your system... try writing date in the DOS console... (In MS Windos: Start -> Run... -> Write cmd -> klick OK ) and set the date if it is not set...
