Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rename a file...
Message
From
24/05/2002 16:48:30
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00661033
Message ID:
00661257
Views:
30
Jean-René,

Take care to check previous existence of a file with the same name as the "new" name of the file to be renamed, because if it already exists you'll get a "file already exists error", perhaps you'd want to delete it first:
If File ("NewName.ext")
   Delete file NewName.ext
endif

Rename OldName.ext To NewName.ext
Fernando
Previous
Reply
Map
View

Click here to load this message in the networking platform