Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Filesystem maintenance

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,113
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Filesystem maintenance
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Filesystem maintenance - 6/6/2001 2:15:32 AM   
  mid

 

Posts: 16
Score: 0
Joined: 6/4/2001
From: USA
Status: offline
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:

-Clients
--11110
---1995
---1996
--11111
---1995
---1996
--11112
---1995
---1996

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.
 
 
Post #: 1
 
 Re: Filesystem maintenance - 6/6/2001 2:21:16 AM   
  bigtop

 

Posts: 15
Score: 0
Joined: 5/31/2001
From: USA
Status: offline
go to http://msdn.microsoft.com
FileSytemObject is listed under "Top Searches". It will lead you to the
Scripting Technologies.

(in reply to mid)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Filesystem maintenance Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts