Change FSRef

Discussion in 'Mac Programming' started by arjit, Nov 23, 2009.

  1. arjit macrumors newbie

    Joined:
    Feb 20, 2009
    #1
    how can i manipulate FSRef like add somthing to the end of it

    example.

    FSRef = /Home

    i want to add Dump.txt

    but Dump.txt is already there

    how can i do it ?
     
  2. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #2
    Double-click on FSRef.
    Right-click "Jump To Definition".
    You should end up in "Files.h".

    Have a look around to find the right function.

    Instead of using Carbon you can obviously use any standard C or C++ methods, or Posix, or Cocoa. Whatever you prefer.
     
  3. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #3

Share This Page