Re: Create scheduled task for defrag
- From: "Brian McDermott" <No_SPambmcdfc@xxxxxxxxxxx>
- Date: Mon, 27 Mar 2006 16:48:48 +0100
Create a textfile with the following line (change the drive letter to suit
your systems).
defrag C:
save it as defragC.bat.
Now schedule it using the Task Scheduler wizard in Control Panel, which will
let you specify the date and time.
The above will only work on XP onwards.
Brian
QA.com
"sdaniels" <sdaniels@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FA2B4A2E-2B6D-4EE6-AE92-43541C3B3692@xxxxxxxxxxxxxxxx
I see a script to create a task for notepad.exe, but i dont see how is is
assigning the day and time..
how would I write a script to create a task to run defrag once a week at
3am
on saturday?
.
- Prev by Date: Re: Script: Remote shutdown of all domain computers
- Next by Date: Re: [MSH] Monad Covered in this Week's Hanselminutes Podcast
- Previous by thread: Script: Remote shutdown of all domain computers
- Next by thread: Looking for VBS (??) script to report local policies
- Index(es):
Relevant Pages
|