PC Review


Reply
Thread Tools Rate Thread

batch file problem

 
 
Spiike
Guest
Posts: n/a
 
      12th Jun 2004
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
..


 
Reply With Quote
 
 
 
 
Doug Knox MS-MVP
Guest
Posts: n/a
 
      12th Jun 2004
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
> .
>
>

 
Reply With Quote
 
Guest
Posts: n/a
 
      12th Jun 2004
Thanks Doug, sorted

Spiike
>-----Original Message-----
>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
>> .
>>
>>

>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch File Problem Sash Microsoft Access VBA Modules 6 17th Jun 2008 05:17 PM
Batch file problem phil999 Microsoft Windows 2000 Registry 0 30th Jun 2007 11:47 AM
Problem with locked log file produced by batch file Ragnar Midtskogen Microsoft Windows 2000 CMD Promt 9 8th Dec 2006 02:04 AM
batch file problem CMAR Windows XP General 7 9th Nov 2004 01:59 AM
batch file - gp problem jim carney Microsoft Windows 2000 Group Policy 3 4th Aug 2003 06:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:18 PM.