chomp($path); chomp($file); $dir1 = join('\\', 'c:', $path, $file);