diff --git a/src/config.rs b/src/config.rs index d30bb95..982a694 100644 --- a/src/config.rs +++ b/src/config.rs @@ -102,7 +102,14 @@ fn get_default_mount_path() -> String { } #[cfg(any(target_os = "windows"))] { - "".to_string() //TODO Was kommt hier hin???? + let drives = ('C'..='Z').collect::>(); + for drive in drives { + let drive_string = format!("{}:", drive); + if !std::path::Path::new(&drive_string).exists() { + return format!("{}:", drive); + } + } + "H".to_string() } }