Rename directory

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi.
I want to walk a certain directory and rename all it´s subdirectories. The
Directory class has a method Move but no Rename method. Should I then use
Move instead?
Gudni
 
Yes unless you like using native methods and call SHFileOperation found in
shell32.dll to rename file/folders

Gabriel Lozano-Morán
 
Back
Top