Function winsafe::PathCombine

source ·
pub fn PathCombine(
    str_dir: Option<&str>,
    str_file: Option<&str>
) -> SysResult<String>
Available on crate feature shell only.
Expand description

PathCombine function.

§Examples

use winsafe::{self as w, prelude::*};

let full = w::PathCombine(
    Some("C:"),
    Some("One\\Two\\Three"),
)?;

// full = "C:\\One\\Two\\Three"