![]() |
Timestamp |
Post Reply
|
| Author | |
Dagijoana
Major Contributor
Joined: 14.Jun.2008 Points: 22 |
Post Options
Thanks(0)
Quote Reply
Topic: TimestampPosted: 15.Jul.2010 at 15:42 |
|
Hi Steven,
just a simple question. How can I manage to add a creation timestamp to a file generated by the MERL generator? Thanks! |
|
![]() |
|
stevek
MetaCase
Joined: 11.Mar.2008 Points: 643 |
Post Options
Thanks(0)
Quote Reply
Posted: 16.Jul.2010 at 01:34 |
|
I'd just use a DOS command, e.g.
external 'cmd /x /c echo %DATE% %TIME% >>myfile.txt' executeBlocking If you want to timestamp several files from the same run, you can read that timestamp into a variable and use it again. Change >> to > above and then do: variable 'timestamp' write filename 'myfile.txt' read close You can then just output $timestamp as normal into the files you are generating, e.g. '// Generated from MetaEdit+ ' $timestamp |
|
![]() |
|
Post Reply
|
|
| Tweet |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |