Using Macro Scheduler 11.1.20 on XPPro-SP3
Here is a simple sample......
Code: Select all
Month>mm
Day>dd
Year>yyyy
Let>Today=%yyyy%%mm%%dd%
Let>SourceFolder=N:\Data\Db
Let>FileName=EXPORTS
Let>FileExt=ASC
Let>FullFileName=%FileName%.%FileExt%
ChangeDirectory>%SourceFolder%
RenameFile>%FullFileName%,%FileName%_%Today%.%FileExt
This looks similar to this posting: http://www.mjtnet.com/forum/viewtopic.p ... renamefile
=================
I just tried the MoveFile and that worked OK. This seems like a bug and the HELP file should make a note to use MoveFile until this is corrected.
Code: Select all
Let>MF_RENAME=1
MoveFile>%SourceFolder%\%FullFileName%,%SourceFolder%\%FileName%_%Today%.%FileExt%