Use setcwd
[Examples]

You can use a text path (ASCII or UNICODE) to access a file or path.
nav_setcwd() allow following string :

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;
}

Generated on Wed Sep 23 09:17:19 2009 for ATMEL by  doxygen 1.5.3