Youc can use FileSystem Object.


Add a reference to Microsoft Scripting Runtime Library. Then use use:

Code:
    Dim oFS As New FileSystemObject
    
    oFS.DeleteFolder "C:\MyFolder"
Note: You would have to include scrrun.dll with your project after you compile it.

------------------

Serge

Software Developer
[email protected]
[email protected]
ICQ#: 51055819



[This message has been edited by Serge (edited 12-01-1999).]