Get the temporary directory



examples/files/temp-dir/src/main.rs
use std::env;

fn main() {
    let folder = env::temp_dir();
    println!("{:?}", folder);
}