| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Wednesday, July 16, 2003, at 08:44 PM, Simone Manganelli wrote:_______________________________________________
First, I'm wondering what the best way is to search (a) user's hard drive(s) for a specific application or file. For example, what if I wanted to find out where a user placed the application "OmniWeb" on his hard drive. And, coming off of that question, how would I identify if the user doesn't have the required app/file? Would I refer to the file by the get info string, the exact size, or what? (Obviously I have no experience in this area, so I'm shooting in the dark.)
How about:
NSDirectoryEnumerator *dirEnum = [[NSFileManager defaultManager] enumeratorAtPath:@"/"];
Depending on the situation, it might be best to run this in a separate thread.
--
Tom Harrington
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| References: | |
| >Re: Searching for Specific Files/Problem with hiding on login (From: Thomas Harrington <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.