Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filesystem maintenance

Status
Not open for further replies.

kegan

Programmer
Dec 31, 1999
1
CA
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>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top