-
delete folder
hi !
i try to delete all the folder content by use this cod :
Dim fs
Set fs = CreateObject("Scripting.FileSystemObject")
fs.deleteFile "E:\WINNT\Desktop\test15\*.* but
it's delete only the files that in the folder and not the sub directory ( sub-folders ) !
pls help me !
[Edited by Anavim on 06-15-2000 at 12:41 AM]
-
Give this a go. You don't need to include it in the references this way, but you don't get the type ahead either.
Code:
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
-
try this
hi
try this it should work
Set fs = CreateObject("Scripting.FileSystemObject")
fs.deleteFile "E:\Temp\Waste"
okdok