It's not possible while windows is running.

However, most modern desktop/laptops are able to boot from usb so you can use that to format instead of using a dvd.