I'm trying to write a script to backup selected directories from an extensive directory structure and then delete those directories. I don't really know how to go about it, as I am new to scripting and wsh. I have a book but it only shows how to list files and search text files etc. Here is an example of the directory structure:<br>
<br>
-Clients<br>
--11110<br>
---1995<br>
---1996<br>
--11111<br>
---1995<br>
---1996<br>
--11112<br>
---1995<br>
---1996<br>
<br>
I'd like, for example, to backup all the 1995 directories and of course the parent folder as well, to another location on the drive and then delete them.<br>
<br>
Thanks,<br>
<br>
Kevin.<br>
<br>
-Clients<br>
--11110<br>
---1995<br>
---1996<br>
--11111<br>
---1995<br>
---1996<br>
--11112<br>
---1995<br>
---1996<br>
<br>
I'd like, for example, to backup all the 1995 directories and of course the parent folder as well, to another location on the drive and then delete them.<br>
<br>
Thanks,<br>
<br>
Kevin.<br>