>The VFP RENAME command does not seem to respect case sensitivity. It seems to LOWER()ize the new file name e.g.
>
>OldFileName = "File1.txt"
>NewFileName = "File2.txt"
>RENAME ( OldFileName ) TO ( NewFileName )
>* yields name file2.txt
>
>Is there any way to make RENAME respect case, or are we looking at a WSH/Win32API workaround?
Al,
Look at MoveFile Windows API
Copy, Move, Rename File Preserving Destination Name Case
If it's not broken, fix it until it is.
My Blog