Solved

Renaming a file or DIR

Posted on 1998-06-18
5
199 Views
Last Modified: 2010-05-03
How can I rename a file or DIR through VB? (using VB3)
0
Comment
Question by:Corpse
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

948 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now