i have a script which walks recursivley through c:\temp This directory has many sub-directories within sub-directories and files and extracts a file. I have to extract the file and place it in c:\docs and at the same time maintain the same directory structure. That is if the file is present in c:\temp\in-temp\file1.txt then this file file1.txt has to be extracted to c:\docs\in-temp\file1.txt. I do not know how to go about extracting only in-temp and creating it in c:\docs\ and then putting the file. I would be extremely grateful if you could please help me to do this.$dir1 = "c:\temp"; $dir2 = "c:\docs";
In reply to Directory operations by nisha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |