|
Since DefragMentor Command Line is a command line utility, you have to run it in the Command Prompt window using the following syntax:
DEFRAGCL.EXE –a
or
DEFRAGCL.EXE –i [–s] [–c] [–e] [-p] [-n] [–l ReportFile.csv] [–x Mask] FileNameMask
or
DEFRAGCL.EXE [–s] [–v] [–c] [–e] [-p] [-n] [–l ReportFile.csv] [–x Mask] FileNameMask
or
DEFRAGCL.EXE –f[s] [–l ReportFile.csv] DriveLetter:
or
DEFRAGCL.EXE –f [–l ReportFile.csv] FileName
Note that you can use wildcards in FileNameMask.
| a |
About DefragMentor Lite CL |
| i |
Print out file information (skip defragmenting) |
| s |
Recursive processing of subdirectories |
| v |
Verbose |
| c |
Skip contiguous files |
| e |
Stop processing files on error. If wildcards are used to process more than one file and some file causes an error this switch will stop processing immediately. |
| x |
Mask of file names to be skipped |
| l |
Save output in a given *.CSV file |
| f |
Display list of free disk fragments |
| fs |
Display list of free disk fragments sorted by size |
| n |
Do not shrink long file names in output |
| p |
Low priority processing |
Examples:
defragcl.exe –i –l report.csv d:\art\map.gif
defragcl.exe –s –e –v –x smth*.mdb –x rep*.mdb d:\data\*.mdb
defragcl.exe –f d:\art\map.gif
defragcl.exe –fs d:
Exit codes:
0 - if the operation succeeds
1 - if the operation fails
|