views:

37

answers:

2

How can we check if a file Exists or not using a Win32 program? I am working for a Windows Mobile App.

+3  A: 

You can make use of the function GetFileAttributes. It returns 0xFFFFFFFF if the file does not exist.

codaddict
+2  A: 

You can call FindFirstFile

Preet Sangha