Solved

Renaming a file or DIR

Posted on 1998-06-18
5
200 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
passing parameter in sql procedure 9 61
message box in access 4 46
Send outlook email from VBS Script 2 28
Sub or Function is not defined 6 26
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

776 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