Solved

Renaming a file or DIR

Posted on 1998-06-18
5
201 Views
Last Modified: 2010-05-03
How can I rename a file or DIR through VB? (using VB3)
0
Comment
Question by:Corpse
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
clifABB earned 500 total points
ID: 1463677
Name sOldName, sNewName
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1463678
Oops, that should be:
Name sOldName As sNewName
0
 
LVL 1

Author Comment

by:Corpse
ID: 1463679
Thanks alot.  And I'll give you some extra points for how fast I got an answer.
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1463680
500 points isn't exactly what I'd call "some".

Thank you very much!  :)
0
 
LVL 1

Author Comment

by:Corpse
ID: 1463681
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

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question