Im using VC6
Printable View
Im using VC6
Look in the io.h header, it'll show you what you need to do. :-)
Go to MSDN site and under File I/O it tells you all the functions needed for your problem
and look up the WIN32_FILE_ATTRIBUTE_DATA struct and the GetFileAttributesEx function.