Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File moving
Message
From
04/06/2008 05:20:14
 
 
To
04/06/2008 05:04:06
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01321516
Message ID:
01321521
Views:
10
Why not something like
lcFile='yourfile.dbf'
lcToFolder='d:\mydir\mycopydir\'
copy file (lcFile) to (lcToFolder+lcFile)
if adir(temp,lcToFolder+lcFile)>0 && Copy successful
  eras (lcFile)
else
  messagebox('copy failed')
endif
>Its good but too big.
>If it's possible, I look for few lines code for that specific task.
>
>Thanks
>
>
>>>Hi
>>>How can I move (cut and paste) .dbf file from one directory to other?
>>>
>>>The path (source and target) and file extention is permanent and each time with different file name.
>>>(File name length is 17 characters, for example RB052008040507PM.dbf).
>>>
>>>Big thanks
>>
>>See if Message#1165588 can help
Previous
Reply
Map
View

Click here to load this message in the networking platform