To clarify Nico's point...
On 9/12/07, Rick <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> How can I check to see if a file exists under the Windows OS? Something like:
>
> if (!file_exists("c:\dir\file.ext"))
\<character> has special meaning in C and C++ - this means you're
unlikely to find a file with the characters \d and \f in its path -
you need to either double up the \, or use / instead (the latter will
usually work in windows.)
--
PJH
"Statistics are like a bikini. What they reveal is suggestive, but
what they conceal is vital"
-- Aaron Levenstein