Is it possible if I want to backup filename.xml as a filename_SUFFIX.xml:
Code: Select all
"App Settings"
backupto "D:\SugarSync\Programs\Aimy\filename_S13018.xml","D:\My Programs\filename.xml";
Thanks.
Code: Select all
"App Settings"
backupto "D:\SugarSync\Programs\Aimy\filename_S13018.xml","D:\My Programs\filename.xml";
Code: Select all
"App Settings"
copyas "*_S13018.?", "D:\SugarSync\Programs\Aimy", "D:\My Programs\filename.xml"";
Code: Select all
"App Settings"
copyitem "D:\My Programs\filename.xml", "D:\SugarSync\Programs\Aimy\filename_S13018.xml";
Code: Select all
copyitem "D:\My Programs\filename.xml","D:\SugarSync\Programs\Aimy\filename_<computer_id>.xml";
Use %computername% for computername.aimy wrote:One more thing, is that possible for the S13018 suffix part, it derived automatically from the current computer name for example?
How do I'm gonna achieve that?Code: Select all
copyitem "D:\My Programs\filename.xml","D:\SugarSync\Programs\Aimy\filename_<computer_id>.xml";
Thank you.
Thanks a lot.PeterH wrote:Use %computername% for computername.
If you could change naming to e.g. "D:\SugarSync\Programs\Aimy\%computername%\filename.xml" use the same filename as the origin, you could use Backupto. Advantages:
- you have flags to pre-define reaction On Collision
- dates× of the file were kept as original
Fine: glad to hearaimy wrote:Thanks a lot.
Works like a charm!