I’m working with a shell extension overlay handler, and I’ll be passed a path that I know to be valid, but I don’t know if it’s a folder or a file. This operation could be called relatively often, so I want to determine whether it’s a file or folder as cheaply as possible. Using c++ (windows specific is fine for my requirements), how can I best accomplish this?
Share
I would recommend using
is_directoryfrom Boost’s Filesystem library…