@ExpHP My hope that this crate can also solve this problem has unfortunately not been fulfilled.
https://users.rust-lang.org/t/strange-escaping/29322
Whenever i give rust an String with no whitespace he cut the double quotes out for an argument, but when i deliver rust Enviroment Variables rust must deliver the double quotes.
let test3 = "%UserProfile\Videos";
command -> cmd /k (echo | cd) -> double quotes don't delivered.
let test3 = "c:\users\user with ws\Videos";
command all is good echo and cd are perfectly interpreted, i think rust deliver the doubles quotes.
Do you know, how can i tell rust to keep his hands off my double quotes? . At this i combine all my answers from other questions, check if env vars are delivered and the resolve this env vars in rust and not on os level, but this i think are overdosed ????