F
F@yy@Z
Hi All
I am using FSO to manage Folders and files.
Set fso = CreateObject("Scripting.FileSystemObject")
strRet = fso.MoveFolder (cstr(strSource),cstr(strDestination))
Set fso = Nothing
As there is no rename option in FSO so I have to use MoveFolder () to rename
a folder.
It renaming the folder if folder do not have any containing (child) folder,
if there is any folder inside to that folder it gives error "permission
denied"
Any suggestion ?
Regards
Fayyaz
I am using FSO to manage Folders and files.
Set fso = CreateObject("Scripting.FileSystemObject")
strRet = fso.MoveFolder (cstr(strSource),cstr(strDestination))
Set fso = Nothing
As there is no rename option in FSO so I have to use MoveFolder () to rename
a folder.
It renaming the folder if folder do not have any containing (child) folder,
if there is any folder inside to that folder it gives error "permission
denied"
Any suggestion ?
Regards
Fayyaz