Hi,
I try to rename a folder and I can't.
on error resume next
dim fso
dim fldr
set fso=createobject("scripting.filesystemObject")
Set fldr = fso.GetFolder("C:\test")
fldr.Name = "C:\test1"
it's not work!
If I put this after the line: fldr.Name = "C:\test1"
if err.number > 0 then
msgbox "error"
end if
the msgbox appear. The name of the folder don't change.
Why doesn't work? an another way to rename a folder?
thank
Dany