PC Review


Reply
Thread Tools Rate Thread

CopyFolder Permission Denied, but who by?

 
 
DartGuru
Guest
Posts: n/a
 
      27th Apr 2007
If I use the following code...

Dim Fso As Scripting.FileSystemObject
Set Fso = New Scripting.FileSystemObject
Fso.CopyFolder sOriginalFolder, sBackupFolder
Set Fso = Nothing

I occassionally get a permission denied error if someone has any files
in "sOriginalFolder" open.
Are there any functions that tell me exactly WHO has the file open (so
I can go and pester them to clsoe it down)?

TIA

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: permission denied David Wier Microsoft ASP .NET 0 13th Jun 2008 04:12 PM
permission denied! wild_bunch Microsoft ASP .NET 0 24th May 2007 12:28 PM
"Access Denied" or "Permission Denied" Scripting Error Messages If Automatic Configuration Customizes Zone Settings =?Utf-8?B?VkFOSUxMQQ==?= Windows XP Internet Explorer 0 3rd Mar 2004 11:11 AM
"Access Denied" or "Permission Denied" Scripting Error Messages If Automatic Configuration Customizes Zone Settings =?Utf-8?B?VkFOSUxMQQ==?= Windows XP Internet Explorer 0 3rd Mar 2004 11:11 AM
Folder Options Permission denied in I.E. - Permissions denied <<-- dcdon Windows XP Internet Explorer 1 27th Jan 2004 06:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:09 PM.