Bool search_path( void ) { const _MEM_TYPE_SLOW_ U8 path[]="dir1/file.txt"; nav_select(0); // Choose a free navigator // Select a disk and mount it nav_drive_set(1); nav_partition_mount(); // HERE the navigator is in root dir #if( (FS_ASCII == ENABLED) && (FS_UNICODE == ENABLED) ) nav_string_ascii(); // Select a ASCII name format #endif if( !nav_setcwd( (FS_STRING)path , TRUE, FALSE ) ) // search file "dir1/file.txt" in root dir of disk 1 return FALSE; }