General information
Category:
Coding, syntax & commands
AFAIK, it is:
Microsoft VBScript runtime (0x800A0046). Permission denied.
Or:
The function attempted to access a file without the proper permission setting.
>I am trying to delete a folder using the 'Deletefolder' command of Windows Scripting Host. Below is the code I am using:
>
>lcExtendedPath = 'P:\NewSales\Unzipped_files\NewSales'
>
>oFSO = CREATEOBJECT('Scripting.FileSystemObject')
>oFSO.DeleteFolder(lcExtendedPath, .T.)
>
>
>I keep getting the following error when I run this:
>
>'OLE Error Code 0x800a0046: Unknown COM Status Code'
>
>If I run this using the Command Window of VFP 7 it works just fine. What am I missing?
>
>Thanks for your help,
>Russell
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only