Opened 6 years ago

Last modified 6 years ago

#12376 new Bugs

boost::filesystem::exist() returns false when file exist in system

Reported by: girishjoshi189@… Owned by: Beman Dawes
Milestone: Boost 1.61.0 Component: filesystem
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

I am writing a program for finding the particular file on windows. I have a file in C:\Windows\System32\FNTCACHE.DAT when I am finding for this boost::filesystem::exist() returns false. I checked the path, the file exist in system.

I tried to check status though filesystem::status() funstion. It returns file_not_found. Please let me know why it is returning false and file_not_found ?

I am working on Windows.

Thanks

Change History (1)

comment:1 by anonymous, 6 years ago

try to use the slash like:

C:/Windows/System32/FNTCACHE.DAT

Note: See TracTickets for help on using tickets.