Superstition: Why is GetFileAttributes the way old-timers test file existence?
If you ask an old-timer how to test for file existence, they'll say, "Use ." This is still probably the quickest way to test for file existence, since it requires only a single call. Other methods such as or require a separate or call, which triggers another network round-trip, which adds to the cost. But back in the old days, the preference f...