sys_path function

Format a path for system