Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

VBScript - 1720 Error


1 reply to this topic

Superfreak3

Superfreak3
  • Full Members
  • 437 posts

Posted 20 November 2002 - 21:37

Here's a simple script I'm running, but it's erroring with a 1720:

Dim objFSO
   
Set objFSO = CreateObject("Scripting.FileSystemObject")

on error resume next

If objFSO.FolderExists("E:\AllData\") Then
       objFSO.DeleteFolder "E:\AllData\", True
end if

Set objFSO = Nothing


I commented out the 'on error resume next statement' to see the error.  I then used some message boxes to trace the error to the following statement:

objFSO.DeleteFolder "E:\AllData\", True  .

What can be wrong here?

Any help is good help!

Philip2

Philip2
  • Members
  • 2 posts

Posted 21 November 2002 - 00:12

have you tried?
objFSO.DeleteFolder("E:\AllData", True)


currently unemployed