'Command line in windows-if statement

If drive f: is found I want to unmount this volume @echo unmounted message stored to the txt file else @echo unmounted message not stored to the txt file--should be blank end

Using if condition, kindly help



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source