How would i rename a file in vb?
what is the command?
E.g.
source file = test.txt
output file = notatest.txt
------------------
Will Greene
Printable View
How would i rename a file in vb?
what is the command?
E.g.
source file = test.txt
output file = notatest.txt
------------------
Will Greene
Name [oldfilename] As [newfilename]
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
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.
I think you'll agree that
Name [old] As [new]
is simpler, quicker, and neater.
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]