• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Searching for Specific Files/Problem with hiding on login
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching for Specific Files/Problem with hiding on login


  • Subject: Re: Searching for Specific Files/Problem with hiding on login
  • From: Thomas Harrington <email@hidden>
  • Date: Fri, 18 Jul 2003 12:48:51 -0600

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.

  • Follow-Ups:
    • Re: Searching for Specific Files/Problem with hiding on login
      • From: Tom Sutcliffe <email@hidden>
References: 
 >Searching for Specific Files/Problem with hiding on login (From: Simone Manganelli <email@hidden>)

  • Prev by Date: button in tableview header
  • Next by Date: Re: Searching for Specific Files/Problem with hiding on login
  • Previous by thread: Searching for Specific Files/Problem with hiding on login
  • Next by thread: Re: Searching for Specific Files/Problem with hiding on login
  • Index(es):
    • Date
    • Thread