Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keeping CamelCase when Copying Files
Message
From
19/07/2013 11:06:21
 
 
To
19/07/2013 10:07:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01578871
Message ID:
01578885
Views:
58
>>>Hi,
>>>I copy some files lilke that
>>> COPY FILE D:\U09\FBPROT.DBF TO (lcZielDir + "URANUS9\FBProt.DBF")
>>>I get a copy of the file as expected but its name is fbprot.dbf.
>>>How can I prevent the name from being changed to lower case?
>>>TIA
>>
>>
>>Use DOS to do the file copy. Or a DOS program like XCOPY.
>>
>>
lcCmd = "RUN COPY D:\U09\FBPROT.DBF " + ADDBS(lcZielDir) + "URANUS9\FBProt.DBF"
>>&lcCmd
>
>Thank you.
>I will do as you say.


I think Naomi's solution is better since it's already coded in VFP. See Message ID: 1578877
Previous
Reply
Map
View

Click here to load this message in the networking platform