Re: deleting files and directories.
From: Eric den Doop (ericdendoop_at_xspamblockxfoxite.com)
Date: Tue, 2 Mar 2004 12:25:05 +0100
You wrote on Tue, 2 Mar 2004 11:42:44 +0100:
AB> im looking for a way to delete the entire contents of a directory,
AB> including its subfolders and files.
If you can use the Scripting Host active x libraries, then you can delete a
folder with subfolders and files this way:
oFileSystem = CREATEOBJECT("Scripting.FileSystemObject")
-- Eric den Doop www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8