Skip to main content
GameDev.net gamedev.net
🔒 Locked

Visual Basic: How do I rename a file from a program?

Started by Tevong Apr 11, 2002 at 7:11 PM 0 replies 650+ views
Original Post
Tevong
Tevong
I have a file called equipment.dat and the user can create a backup which saves it to a new file called "Equipbackup.dat". However to load the backup I want to simply delete equipment.dat and rename Equipbackup.dat ro equipment.dat. Is there a method that''ll let me change filenames during runtime?
Signed: T_
Michalson
Michalson
Name "Equipbackup.dat" As "Equipment.dat"

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.