General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
>
>What I need to do is to detect that a text file has no data in it so that I can run a FoxPro program that will reverse an update flag field. The Question is How do you detect that a text file has no data in it? Use low-level commands?
You can use adir() to check the file size or
fopen() followed by
fread()
I think adir() would be best.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only