Balbirlally
asked on
directory delete in VFP9 sp2
Hi Experts
I have a backup folder and everytime I do a backup I create new folder within backup folder and copy files to the new folder. What I like to do is, delete the folders that were created before certian date. (i.e delete older backup folders)
Thanks.
I have a backup folder and everytime I do a backup I create new folder within backup folder and copy files to the new folder. What I like to do is, delete the folders that were created before certian date. (i.e delete older backup folders)
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it works very well.
you can use the following:
fso = CREATEOBJECT("Scripting.Fi
fso.DeleteFolder("c:\temp\
Replace the path "c:\temp\test" with the directory you wish to delete.
Regards