Renaming a file or DIR

How can I rename a file or DIR through VB? (using VB3)
LVL 1
CorpseAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
clifABBConnect With a Mentor Commented:
Name sOldName, sNewName
0
 
clifABBCommented:
Oops, that should be:
Name sOldName As sNewName
0
 
CorpseAuthor Commented:
Thanks alot.  And I'll give you some extra points for how fast I got an answer.
0
 
clifABBCommented:
500 points isn't exactly what I'd call "some".

Thank you very much!  :)
0
 
CorpseAuthor Commented:
Well, I was using this name "Corpse" for experts exchange but then lost the password, so, i use "CoRpSe" now, then I remembered the password so I figured I would get rid of some of those accumulated points.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.