>Hi Henry.
>
>
I am attempting to first, delete an existing directory and all subfolders within that directory and then create a new directory with subdirectories where needed.>
>This is a piece of cake using the Windows Script Host:
>
>
>oFSO = CreateObject( ‘Scripting.FileSystemObject’ )
>oFSO.DeleteFolder( ‘MyFolder2Delete’, .T. )
>
>
>The second parameter tells the Windows Script Host to delete folders with the read-only attribute set. But do be careful when you use this method! The folders and files are deleted without being sent to the recycle bin, so once deleted they are gone forever.
Marcia,
Why do I like this method...?< vbg >
George
Ubi caritas et amor, deus ibi est