Hello All!
DIM fso
Set FSO = CreateObject("Scripting.FileSystemObject"
Sourcedir = "\\nt0\user\test"
destdir = "\\nt0\user\test1"
If Not FSO.FolderExists(destdir) Then
FSO.MoveFolder sourcedir, destdir
End If
I am getting Permission denied error if someone is accessing sourcedir ("\\nt0\user\test"
. Otherwise it is working great. Any tricks/tips to force it even someone is accessing.
thanks in advance.
DIM fso
Set FSO = CreateObject("Scripting.FileSystemObject"
Sourcedir = "\\nt0\user\test"
destdir = "\\nt0\user\test1"
If Not FSO.FolderExists(destdir) Then
FSO.MoveFolder sourcedir, destdir
End If
I am getting Permission denied error if someone is accessing sourcedir ("\\nt0\user\test"
thanks in advance.