in reply to Deleting the Currently Running Script in Win XP

Yet another (untested) way would be to schedule the deletion to reboot

use Win32::FileOp qw(DeleteAtReboot); DeleteAtReboot($filename);
I do believe these deletions happen long before the scripts in Startup folder.

Jenda
XML sucks. Badly. SOAP on the other hand is the most powerfull vacuum pump ever invented.

Replies are listed 'Best First'.
Re^2: Deleting the Currently Running Script in Win XP
by Dru (Hermit) on Oct 04, 2005 at 18:27 UTC
    Jenda,

    Thanks, that's exactly what I needed. I can see a really smart and good looking individual wrote this module :-).

    Also, I saw in your homenode that you wrote Mail::Sender but you don't talk too highly of it. I use this for any script that I must send mail with (which is quite a few) and it works great. You should give yourself more credit for it, it's really helped me.

    Cheers,
    Dru