Hi.
Is it possible to create a file with a long path name? For example:
Code:
std::string pathFile("c:\testing\December 27\newfile.type");
// CreateFile fails
if (::CreateFile(pathFile->c_str(),...) == INVALID_HANDLE_VALUE)
{
}
I would like to know two properties of CreateFile(). First, is it possible to create a file in a directory that does not exist via CreateFile()? In the example above, directories "testing" and "December 27" do not exist.
Secondly, is it possible to create directories with spaces between one or more words, i.e. December 27. Notice the space before "2."
Thanks,
Kuphryn