Are you deleting the files from a network share? Are you scheduling the .vbs file, or cscript.exe with the VBS path as the file to run? Ray at home _____ From: windows2000-bounce@xxxxxxxxxxxxx [mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Davey B Sent: Tuesday, February 28, 2006 11:30 AM To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Vbscript and scheduled tasks W2K sp4 I've writen a small vbscript to delete files that are over X days old from a particular drive. If I run this from the desktop..all is well. I'd like to run this as a scheduled task .. but it always fails. I'm running the task as a local admin of the box. I'm assuming that vbscript is not allowed to run as a scheduled task ?? Is it "tweakable" to make it run Any pointers would be great. Thanks Davey