UltraDefrag CLI

Last updated on Jul 3, 2021

Learn how to fully automate complex defragmentation tasks using a powerful command line interface.

First steps with UltraDefrag CLI

UltraDefrag CLI is a powerful command line interface of UltraDefrag. It is a complete alternative to the graphical interface - for any action you might want to perform in the graphical interface there is an equivalent command...

udefrag command

The core component of UltraDefrag CLI is the udefrag command. You can analyze, defragment and optimize disks using it. Also you can use it to get the list of disks available for defragmentation...

show-report command

The show-report command displays the file fragmentation report for the specified disk...

bt command

The bt command enqueues a command to be executed at the next system reboot using the boot time interface of UltraDefrag. Also the bt command can reboot the computer to proceed with the boot time defragmentation immediately...

setenv command

The setenv command sets the UltraDefrag specific environment variables according to the user preferences...

clearenv command

The clearenv command clears the UltraDefrag specific environment variables set by the setenv command...

Batch script examples

Check the following batch script examples to learn how to fully automate typical defragmentation tasks using UltraDefrag CLI...