Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy a file and then verify it.
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00067207
Message ID:
00067211
Views:
20
>Does anyone know if a file can be copied, say to a floppy disk, and then verified from with FoxPro? Would like to avoid shelling to DOS.
>
>Thanks
>Kathy VanAlstyne

You can do an ADIR() on the original file and on the copied file to compare the filesize, etc. Are you using COPY FILE or COPY TO to copy a table. Date/Time stamps probably will not be the same with COPY TO for a table. For tables, you could also count the number of records. Be leary of Reccount() based on status of SET DELETED. COPY TO with SET DELETED ON will not copy deleted records, so RECCOUNT() could be different.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform