Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Need to check a file at a given path

, 5 Nov 2012
consider the following example#include #include using namespace std;bool exists(char* filePath){ //This will get the file attributes bitlist of the file DWORD fileAtt = GetFileAttributesA(filePath); //If an error occurred it will equal to...



Compare Revision Minor Date Status Editor
publicly available No 5-Nov-12 12:49 Available fjdiewornncalwe
Updates in content. 44 changes had been made.
1 No 5-Nov-12 6:37 Available Sajeesh Payolam


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

| Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 5 Nov 2012
Article Copyright 2012 by Sajeesh Payolam
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid