in reply to Re: Problem with system ()
in thread Problem with system ()

All, as ever, many thanks for the responses. I have now fixed the problem. The code I have chosen is as follows:
chdir "C:\\Program Files\\Analysis\\Auditfiles" or die "ERROR!: $!"; system ("del *.audit");
I tried to install File::Chdir but unfortunately received a whole load of errors during nmake test that I couldn't fathom. This was a non-starter. Also, I tried using unlink and glob together, but while this compiled, it didn't actually delete anything. I realise chdir is bit crude, but the script I am using it in is very simple. Thanks again!