|
-
Jan 27th, 2000, 08:12 PM
#1
Thread Starter
New Member
How would i rename a file in vb?
what is the command?
E.g.
source file = test.txt
output file = notatest.txt
------------------
Will Greene
-
Jan 27th, 2000, 08:18 PM
#2
Frenzied Member
Name [oldfilename] As [newfilename]
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
-
Jan 27th, 2000, 08:19 PM
#3
So Unbanned
You could try this:
- Open the file
- Save the file as different name
- Close files
- Delete old file
Good Luck,
------------------
DiGiTaIErRoR
VB, QBasic, Iptscrae, HTML
Quote: There are no stupid questions, just stupid people.
-
Jan 28th, 2000, 12:57 PM
#4
Frenzied Member
I think you'll agree that
Name [old] As [new]
is simpler, quicker, and neater.
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|