There are a couple of ways to do this, either by directly acting on the folder object or using the FileSystemObject. Need more info: What part of C:\Documents and Settings\Administrator\Desktop\VBS FONT EXTRACT\fonts is the current directory?
For example, if C:\Documents and Settings\Administrator\Desktop is the current directory, this little snippet will help to show method:
Set fso = CreateObject("Scripting.FileSystemObject")
Set fl = fso.GetFolder(WshShell.CurrentDirectory & "\VBS FONT EXTRACT\fonts")
fl.Delete(True)
Note: Don't use obvious datanames like
folder or
file. Debugging becomes a nightmare because VBScript uses such names for it's methods and properties.
Try searching your disk for the
script56.chm file. If not found, you can download it from
here. It is the the documentation which has examples of just about every method and property available in VBScript.