Hiya Juan ----
Why are you using the shortened DOS version to rename from; ie, 123456~1.abc? And, is it possible that the file already had the name 1234567890123.abc?
>
>I tried to rename a file to another file name (long file name) with the following command:
>
>RENAME cOldName To cNewLongName
>
>(where cOldName = 123456~1.abc, cNewLongName = 1234567890123.abc)
>
>However, VFP returned an error saying file name already exist. Apparently, cNewLongName is being changed to DOS 8.3 format (which resulted in cOldName) before the RENAME is carried out. Does anybody know the workaround?
>
>Thanks,
>juan
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05