Are you running it as a Scheduled Task? If so, the account that is used to run it must have a password. There are ways around this, but I don't recommend them, as they allow blank passwords anywhere on the system. Bad idea.
--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.
"Spiike" <(E-Mail Removed)> wrote in message news:1b8b901c45094$ca7e6740$(E-Mail Removed)...
> Hi, help, I've set the app below to auto delete files in a
> folder but it does not run automatically, can anyone
> advise me on this.
>
> @echo off
> del /q c:\folder\*.doc
>
> I would appreciate any help.
>
> thanks Spiike
> .
>
>