Possible to defrag from a batch file?

Is it possible to use defraggler from a batch file, to defrag all my drives and then shutdown?

I did a google search and I can't find anything about it.

Helps is appreciated :)

something like??

@echo off

set df="c:\program files\defraggler\df.exe"

%df% "c:\*.*" /s

%df% "e:\*.*" /s

%df% "f:\*.*" /s

c:\windows\system32\shutdown.exe -s -t 0

Richard S.