Boost logo

Boost Users :

From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2007-04-26 17:33:47


> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of Jeff Dunlap
> Sent: Thursday, April 26, 2007 4:04 PM
> To: boost-users_at_[hidden]
> 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);


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