bt command

Last updated on Jan 16, 2026

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:

C:\Program Files\UltraDefrag>bt udefrag c:

Boot time defragmentation requires a system reboot.
R - Reboot now, L - Reboot later, C - Cancel [R,L,C]?

If the command to be enqueued is the udefrag command (as in the example above) the bt command sets all the boot time environment variables accordingly to the currently set environment variables. If the command to be enqueued is the call command, however, the bt command does not set the environment variables before the call, for the sake of easier maintenance of the custom boot time scripts.

Synopsis

bt [options] <command> [arguments]

Options

By default the bt command displays a confirmation before enqueuing the specified command. You can skip the confirmation, however, using the following options:

OptionDescription
/E Enqueue the command without asking for confirmation.
/R Enqueue the command and reboot the computer, without asking for confirmation.

Also you can set the command to be executed on each reboot and shut down the computer automatically after its completion by adding these options:

OptionDescription
/REPEAT Execute the command on each reboot.
/SHUTDOWN Shut down the computer after the command execution.

Notes

As the bt command is a batch script, you have to use the system call command to call it from your batch scripts:

1
call "%UD_INSTALL_DIR%\bt.cmd" /E udefrag c:
Share this page:
Scroll to Top English