Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::filesystem path problem under WINDOWS
From: Ian Bruntlett (ian.bruntlett_at_[hidden])
Date: 2010-12-13 13:03:18


Hi avanindra,

std::exception::what: boost::filesystem::create_directory: The filename,
directo
ry name, or volume label syntax is incorrect: "E:\doggy"

OK, I don't have the full story here. Is the directory name being specified
in the C++ source code? If so then remember that "\" is used for character
escape sequences. If you are specifying the name in the source code, you may
need to type "E:\\doggy". The double "\" will resolve to a single "\" in the
executable.

HTH,

Ian

-- 
-- ACCU - Professionalism in programming - http://www.accu.org/


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net