O&O Defrag 29 Product manual

O&O Defrag 29 
Using the command line version

US$ 29.95
Buy now

You can also control the defragmentation by means of the command line version of O&O Defrag. In this way, you can integrate O&O Defrag into scripts that can be run at startup or login.

The graphical user interface of O&O Defrag will not be shown during a start from the command line. A mini O&O Defrag icon will appear in the task tray, and you can follow the progress of the actions in your DOS prompt.

O&O Defrag runs independently of the main user interface and the DOS prompt in the background. If you close the DOS prompt or cancel the command line tool with Ctrl+Break/Ctrl+C, you can choose whether to end the program or have it continue in the background. You can also cancel the started activity later with the help of the STOP command or by using the user interface.

Tip: If you start O&O Defrag from the command line, you can also start the main user interface later. This will show you the status as usual without interrupting or stopping the running processes.

Call

The O&O Defrag command line control processes the following commands and parameters:

OODCMD {C:[,] | ...| Z:} | {/{}:{C[,] | ...| Z | ALL}}
[/OUTPUTFILE:] [/SILENT] [/NOHEADER] [/NOWAIT] [/WAITKEY]

wheras needs to be one of the following activities:

ANALYSIS, OPTIMIZE, QUICK, COMPLETE, COMPNAME, COMPACC, COMPMOD, FRAGFILES, SPACE, STEALTH

Parameters

g

Syntax Description
/ANALYSIS:{C[,] | ... | Z | ALL} Analyzes the given drives. The result will be shown in the standard output device (generally the DOS prompt), or written into the output file.
/OPTIMIZE:{C[,] | ... | Z | ALL} Starts OPTIMIZE defragmentation on the given drives or on all drives (ALL).
/QUICK:{C[,] | ... | Z | ALL} Starts OPTIMIZE/QUICK defragmentation on the given drives or on all drives (ALL).
/COMPLETE:{C[,] | ... | Z | ALL} Starts OPTIMIZE/Complete defragmentation on the given drives or on all drives (ALL).
/COMPACC:{C[,] | ... | Z | ALL} Starts COMPLETE/Access defragmentation on the given drives, or on all drives (ALL). Please bear in mind that this defragmentation method does not support any drive zones.
/COMPMOD:{C[,] | ... | Z | ALL} Starts COMPLETE/Modified defragmentation on the given drives, or on all drives (ALL). Please bear in mind that this defragmentation method does not support any drive zones.
/COMPNAME:{C[,] | ... | Z | ALL} Starts COMPLETE/Name defragmentation on the given drives or on all drives (ALL). Please bear in mind that this defragmentation method does not support any drive zones.
/FRAGFILES:{C[,] | ... | Z | ALL} Analyzes the given drive and lists the fragmented files. The result will be shown in the standard output device (generally the DOS prompt), or written into the output file.
/INFO:{C[,] | ... | Z | ALL} Shows the drive information for the given drives or for all drives (ALL).
/NOHEADER Stops the display of program information when the program is started from the DOS prompt.
/NOWAIT Starts the given operation and ends the command line program immediately. The operation runs in the background. This is useful if you want to start an operation with a multiple file, but don’t wish to wait until this process has finished.
/OUTPUTFILE: All output will be redirected to a file with the given path and name.
/SILENT No output is being displayed.
/SPACE:{C[,] | ... | Z | ALL} Starts SPACE defragmentation on the given drives or on all drives (ALL). Please bear in mind that this defragmentation method does not support any drive zones.
/STEALTH:{C[,] | ... | Z | ALL} Starts STEALTH defragmentation on the given drives or on all drives (ALL). Please bear in mind that this defragmentation method does not support any drive zones.
/SSDOPTIMIZER Optimizes the SSD using a method that goes easy on resources.
/STOP:{C[,] | ... | Z | ALL} Stops all processes (analysis, defragmentation etc.) on the given drives or on all drives (ALL).
/TRIM Sends the TRIM command to the SSD.
/THINPROV Optimizes the memory allocation of a virtual hard disk.
/WAITKEY Waits for a keystroke before ending the command line program (once the operation has ended).