http://qs321.pair.com?node_id=214004


in reply to Perl and Eudora

You could write a wrapper script, e.g.,

system("D:/EudoraPro/Eudora.exe"); copy($_,'z:/mail_test') foreach glob 'D:/EudoraPro/*.mbx'; copy($_,'z:/mail_test') foreach glob 'D:/EudoraPro/*.toc';

Then, create a shortcut for the command, perl.exe eudorawrapper.pl and use THAT for starting Eudora.

dmm

If you GIVE a man a fish you feed him for a day
But,
TEACH him to fish and you feed him for a lifetime

Replies are listed 'Best First'.
Re: Re: Perl and Eudora
by /dev/trash (Curate) on Nov 19, 2002 at 21:04 UTC
    That doesn't work. The files get copied and everything but Eudora is not starting.
      If your on windows 2000 or Xp you can add your back up code as a scheduled task, will that work for you?
        I am running Windows 98 and I am using the Scheduler it provides. If it comes down to it I can use that but I'd like to back up everything after every Eudora use.