SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Disk Defragmenter

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Disk Defragmenter
Author Message
Pierre Dupuis



Joined: 22 Aug 2000
Posts: 85

Post Disk Defragmenter Reply with quote

How I can schedule a Disk Defragmenter?

Mon Nov 18, 2002 9:13 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: Disk Defragmenter Reply with quote

You can schedule defrag.exe or similar utility. Depending on your Windows version name of the command may different

On XP, 98, Me, 95 it is "defrag.exe"
On W2K (also supported on XP) it is "mmc dfrg.msc" or whatever the saved console name is.

For example, you could schedule the following command:

c:\windows\defrag.exe c: /noprompt /q

For more info on supported command line options run
"help defrag" or "defrag /?"

On some systems the defragger is not installed by default, you may need to add it from the Windows setup files.

: How I can schedule a Disk Defragmenter?

Mon Nov 18, 2002 10:03 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: Disk Defragmenter Reply with quote

In case if anyone else is interested in automatic defrag on Windows 2000 systems,
Here is sample JAL script that can used to automate MMC snap-in

You can paste it to JAL script job. Replace "d:" with the desired drive name.

Dim pid, number
Dim win, number
Run "mmc c:\winnt\system32\dfrg.msc /d:", "", pid
WindowWaitOpen "Disk Defragmenter", 10
WindowFind "Disk Defragmenter", win
WindowActivate win
SendKeys "{ALT}AD"
WindowWaitOpen "Defragmentation Complete", 0
WindowFind "Defragmentation Complete", win
WindowActivate win
SendKeys "{TAB}{ENTER}"
WindowWaitClose "Defragmentation Complete", 0
SendKeys "{ALT}C"

: You can schedule defrag.exe or similar utility. Depending on your Windows
: version name of the command may different

: On XP, 98, Me, 95 it is "defrag.exe"
: On W2K (also supported on XP) it is "mmc dfrg.msc" or whatever the
: saved console name is.

: For example, you could schedule the following command: c:\windows\defrag.exe
: c: /noprompt /q

: For more info on supported command line options run
: "help defrag" or "defrag /?"

: On some systems the defragger is not installed by default, you may need to
: add it from the Windows setup files.

Mon Nov 18, 2002 10:57 am View user's profile Send private message
linda



Joined: 26 Feb 2006
Posts: 1

Post Re: Disk Defragmenter Reply with quote

: How I can schedule a Disk Defragmenter?

Mon Feb 13, 2006 4:35 am View user's profile Send private message
john madsen



Joined: 26 Feb 2006
Posts: 1

Post Re: Disk Defragmenter Reply with quote

how can i download a free defragtmenter for win 98??

Sun Feb 26, 2006 6:48 pm View user's profile Send private message
Joshua



Joined: 05 May 2006
Posts: 1

Post Re: Disk Defragmenter Reply with quote

What is JAL script means ?

: In case if anyone else is interested in automatic defrag on Windows 2000
: systems,
: Here is sample JAL script that can used to automate MMC snap-in

: You can paste it to JAL script job. Replace "d:" with the desired
: drive name.

: Dim pid, number
: Dim win, number
: Run "mmc c:\winnt\system32\dfrg.msc /d:", "", pid
: WindowWaitOpen "Disk Defragmenter", 10
: WindowFind "Disk Defragmenter", win
: WindowActivate win
: SendKeys "{ALT}AD"
: WindowWaitOpen "Defragmentation Complete", 0
: WindowFind "Defragmentation Complete", win
: WindowActivate win
: SendKeys "{TAB}{ENTER}"
: WindowWaitClose "Defragmentation Complete", 0
: SendKeys "{ALT}C"

Wed May 03, 2006 1:19 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: Disk Defragmenter Reply with quote

JAL stands for Job Automation Language which has been developed as part of 24x7 Scheduler project

: What is JAL script means ?

Fri May 05, 2006 4:27 pm View user's profile Send private message
Robert Page



Joined: 13 Jul 2006
Posts: 1

Post Re: Disk Defragmenter Reply with quote

I either need a copy of
disk defragmenter or need
to know how to repair the
program itself

Thu Jul 13, 2006 11:29 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.