I would suggest you to use the unix command line tool `find`. Perform a command like thisfind . -name "*.mp3" -print in an NSTask context. Every line of the output will be a file path. I suggest to authenticate the user - running as root will avoid permission troubles finding the files. Note that this tool will take some time to browse ALL your files, so it'd be better to specify a path in wich search files.
--Luca C. 2009/3/5 haresh vavdiya <vavdiyahar...@gmail.com> > Hello, > > Hope that everyone is fine. > > I am developing one application in which user can retrieve > music file from machine and use can play this music file also. > > So i have to search for ".mp3" files in all folders and then > display into table. Can anyone tell me that how can i search, retrieve .mp3 > file and play this particular file into my apps. > > Please anyone help me on this topic. > > Thanks, > Haresh. > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > > http://lists.apple.com/mailman/options/cocoa-dev/luca.pazzerello%40gmail.com > > This email sent to luca.pazzere...@gmail.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com