Solved

Renaming a file or DIR

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
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…

688 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