Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rename File
Message
From
10/09/2004 04:59:50
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00940948
Message ID:
00940952
Views:
32
Hi Borislav,
thanks a lot it works!!!
Ryan.

>Try this (not tested):
>
>
>oldFile = GetFile()
>IF .NOT. EMPTY(oldFile)
>** If You want to save the extension
>** Use this:  newFile = ADDBS(JUSTPATH(oldFile))+"NewFileName."+JUSTEXT(oldFile)
>
>   newFile = ADDBS(JUSTPATH(oldFile))+"NewFileName.EXT"
>   RENAME (oldFile) TO (newFile)
>ENDIF
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform