Hi

This seemed like a really basic problem at first but I can't get my head around it. All I want is to delete a read only file. Here is the command I am using:

Del "%userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Launch Outlook Express.*" /c /f /h

This command however returns the error:

Script error: Error in expression.!

The really strange thing about this is that the command runs in a logon script on Windows 2000 and XP computers and this error only occurs when the script is run at logon. If the script is run manually after the user has logged on, there is no error and the file is successfully deleted.

I am running Kixtart version 4.53 and have tested this on Windows XP and Windows 2000 computers with the same result.

Any ideas?

Cheers