BT
2004-04-15 22:49:09 UTC
Hi All
I have a problem in VFP8 SP1 using the "copy file" command.
I am trying to copy a file to a different folder with exactly the same name
and in the same case.
e.g.
copy file c:\test\MyFile.txt to c:\test2\MyFile.txt
Everything works find except the new file in the folder c:\test2 actually
now has the filename myfile.txt
Thus the name of the file is being converted to lower case, loosing the
capital M and F.
This causes me further problems as I need the name of file to remain in the
same case as the source.
I am running on Windows XP SP 1 with all the latest updates and the disk is
in NTFS format.
I can easily rename the file in explorer to the correct case but need this
to work directly from Foxpro copy file command.
Is this is a bug?
and/or
Is there a workaround?
and/or
Is there an alternative set of code that will do the copy correctly?
Thanks for any help.
John Roberts
I have a problem in VFP8 SP1 using the "copy file" command.
I am trying to copy a file to a different folder with exactly the same name
and in the same case.
e.g.
copy file c:\test\MyFile.txt to c:\test2\MyFile.txt
Everything works find except the new file in the folder c:\test2 actually
now has the filename myfile.txt
Thus the name of the file is being converted to lower case, loosing the
capital M and F.
This causes me further problems as I need the name of file to remain in the
same case as the source.
I am running on Windows XP SP 1 with all the latest updates and the disk is
in NTFS format.
I can easily rename the file in explorer to the correct case but need this
to work directly from Foxpro copy file command.
Is this is a bug?
and/or
Is there a workaround?
and/or
Is there an alternative set of code that will do the copy correctly?
Thanks for any help.
John Roberts