
For instance, if the path should point to c:\test.txt (on a Windows system), what is the portable filename that I should pass to the boost::filesystem::path constructor?
boost::filesystem::path("c:\\test.txt", boost::filesystem::native); Best regards, Andriy Tylychko, telya@mail.ru
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Maarten Nieber Sent: Friday, August 04, 2006 3:07 PM To: Boost-users@lists.boost.org Subject: [Boost-users] [Filesystem] Drive letter in argument forboost::filesystem::path
Dear boost users,
can anybody explain how to pass a filename containing a (windows) drive letter into a boost::filesystem::path?
For instance, if the path should point to c:\test.txt (on a Windows system), what is the portable filename that I should pass to the boost::filesystem::path constructor?
Thanks in advance! Maarten
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users