Hi, Slightly off topic - I've just taken over a TSM 5.3 W2K3 system and am very slowly getting to grips with it and as part of it I want to copy off the DR files everyday. The only way to do this is via Email. I'm using blat to several emails with attachments every morning. Eg :-
blat test.txt -subject "test" -server xxxxxxxxx -r -log send.txt -to [EMAIL PROTECTED] -attach "c:\program files\tivoli\tsm\server1\devcnfg.out" This is fine with the static named files like devcnfg.out but how do I select the latest DRP file as an attachment. I'm think of somehow using the date to get the start of the file then copying to a static file and sending that but vbscript etc is not my strongest point!! Anyone doing this already or have any idea? TIA Gary This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.