Hi to All
I need to rename a not empty directory, located in GetSafeDirDefaultExternal, (without renaming the internal files). I have looked at some posts relative to renaming files. Some of them are old, other rename files (and not dirs). Finally I have not clear ideas on what to do.
Any suggestion?
Thanks in advance
Dim rp As RuntimePermissions
Dim folder1 As String = rp.GetSafeDirDefaultExternal("test1")
Dim folder2 As String = rp.GetSafeDirDefaultExternal("test2")
File.WriteString(folder1, "1.txt", "test")
RenameTo(folder1, "", folder2, "")
Log(File.ReadString(folder2, "1.txt"))