Programatically Rename My Document Folder

  • Thread starter Thread starter Greg
  • Start date Start date
G

Greg

Hello -

I've seen many messages in this newsgroup that address renaming a my
documents directory in Windows XP, but none that talk about doing it
programatically. I'm writing a program that will rename the local
user i.d. and would also like to be able to rename the My Documents
folder to reflect the new name. Does anybody know of a method that
can be used in VB or VBScript to rename the Windows XP My Documents
folder? It's also possible that WMI can accomplish this, so any help
there would be appreciated too.

Thanks...

Greg.
 
Greg said:
Hello -

I've seen many messages in this newsgroup that address renaming a my
documents directory in Windows XP, but none that talk about doing it
programatically. I'm writing a program that will rename the local
user i.d. and would also like to be able to rename the My Documents
folder to reflect the new name. Does anybody know of a method that
can be used in VB or VBScript to rename the Windows XP My Documents
folder? It's also possible that WMI can accomplish this, so any help
there would be appreciated too.

Thanks...

Greg.

Take a look at http://www.dougknox.com/ - WinXP Utilities.
Check out the DesktopIconRename - it's written in VB.
Maybe you could contact the author?

Martin.
 
Back
Top