Finding a file
-
/* Check for existence */ if( (_access( "filename, with full path", 0 )) != -1 ) { //file exists } This will do the trick for you
-
/* Check for existence */ if( (_access( "filename, with full path", 0 )) != -1 ) { //file exists } This will do the trick for you
-
Why people never take a look at the msdn before asking something?:confused: In 90% of the time, you will have the answer in less than 1 min. Like in this case... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/\_crt\_\_access.2c\_.\_waccess.asp Mangez des gnous!
-
use api PathFileExist() this will help you above cause ----------------------------- "I Think It will Work" Formerly Known As "Alok The Programmer" at CP ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk