Just can't stay away ![Just can't stay away](https://www.amigans.net/uploads/rank3dbf8ea81e642.gif)
Joined: 2006/12/1 18:01 Last Login
: Yesterday 23:20
From Copenhagen, Denmark
Group:
Registered Users
|
What I usually do is set up a Shell variable with the date part of the filename, using something like "set dt = `date {your format codes here]`" (note the backticks).
Then you can use $dt as part of your filename - or, if you refer to it lots of times, set up another variable like "set fn = T:Output_$dt.txt" and then just use $fn when you need the filename.
Note: Untested, away from my Amigas right now.
Best regards,
Niels
|