• 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
how to check for file in the user's Documents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to check for file in the user's Documents


  • Subject: how to check for file in the user's Documents
  • From: "Ann K. Blombach" <email@hidden>
  • Date: Fri, 27 Jul 2012 12:08:27 -0400

My installer needs to check to see whether a file is already in the user’s Documents folder.  How do I specify the Directory of the user’s Documents folder?  ${HOME}/Documents works fine for unix commands, but not in PackageMaker using the “File exists on Target” requirement, but I don’t know how to specify the target) or Perl (searching for a file, but I need to know how to specify the Directory).  All I need is the magic syntax that will do the same thing ${HOME}/Documents does in unix.  Doesn’t matter whether it’s in PackageMaker or in Perl.  Thanks.

 

Ann

 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: how to check for file in the user's Documents
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: Re: Silent install
  • Next by Date: Re: how to check for file in the user's Documents
  • Previous by thread: Re: Silent install
  • Next by thread: Re: how to check for file in the user's Documents
  • Index(es):
    • Date
    • Thread