Results 1 to 3 of 3
  1. #1

    Member Since
    Aug 01, 2007
    Help Saving Picture to Certain Location
    Sorry that I dont know how to explain this any better, but I am writing a program in java, and need to save a picture.

    I would know how to do this on a Windows machine, but I dont know the filepath on a Mac of where to save it.

    For example on a Windows machine, I would write:

    And that would save the picture to my C drive. How can I save it to my desktop on a Mac?


  2. #2

    RiDE's Avatar
    Member Since
    Sep 13, 2006
    Not sure of the Java part of it... but the path to your desktop is:


    "USERNAME" is replaced with YOUR actual home folder name (no quotes).

    You can also use:


    The "~" symbolizes the User Home Folder within unix.

  3. #3

    Member Since
    Aug 01, 2007
    Worked brilliantly....thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. picture file location, Photo library vs picture folders
    By tdbean in forum Images, Graphic Design, and Digital Photography
    Replies: 4
    Last Post: 05-17-2014, 04:43 PM
  2. Picture File Location
    By CaptainDave in forum macOS - Operating System
    Replies: 1
    Last Post: 03-01-2013, 06:09 PM
  3. ipad send picture to nework location
    By jimble in forum Images, Graphic Design, and Digital Photography
    Replies: 5
    Last Post: 05-02-2012, 05:35 PM
  4. Account User Picture Location - Newbie here
    By loouch in forum Switcher Hangout
    Replies: 1
    Last Post: 04-18-2010, 06:09 PM
  5. iPhoto picture location
    By brianS in forum macOS - Apps and Games
    Replies: 2
    Last Post: 03-31-2008, 10:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts