I am using recursive directory iterator. When I list files and directories, my program terminates on "System Volume Information" on Windows machines. The system folder is inaccessible. I believe I need to implement the no_push() modifier. Could someone explain how to add that to this block of code? --------------------------- void initial_path( const path & directory, bool recurse_into_subdirs = true ) { if(exists(directory)) {directory_iterator end; for(directory_iterator iter(directory) ; iter != end; ++iter) if (is_directory( *iter )) {cout << iter->path() << " (directory)\n"; if( recurse_into_subdirs ) initial_path(*iter); } --------------------------- -- View this message in context: http://boost.2283326.n4.nabble.com/Boost-Filesystem-iterator-no-push-tp36159... Sent from the Boost - Users mailing list archive at Nabble.com.