26 Apr
2007
26 Apr
'07
9:33 p.m.
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Jeff Dunlap Sent: Thursday, April 26, 2007 4:04 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users]FileSystem - Test if file exists without opening the file?
I can make it work with relative paths such as:
fs::path file_path( "test2/dir1/file01.txt" ); // works fs::path file_path( "somefile.txt" ); // works
I just cannot figure out now is how to specify the drive and directory:
fs::path file_path( "C:/Logs/log.txt" ); // does not work
[Nat] Try: fs::path file_path("c:/Logs/log.txt", fs::no_check);