BRONZE PARTNER:
BRONZE PARTNER:
Industry News:

| |
 |
 |
 |
| By Request VBS Script To Delete All Files From A Specified Folder |
 |
|
|
By: Don Hite
Posted On: 5/11/2009
VBS Script:
strDirectory = "C:\DirectoryFolderName"
Set FSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = fso.GetFolder(strDirectory)
For Each objFile in objFolder.Files
objFile.Delete True
Next
MsgBox "Done"
|
 |
 |
 |
|
|