//! Copies the given string to as directory to all paths in the list. void set_dir(path &p) { set_dir(p.get_dir()); }