Mac Change FSRef

arjit

macrumors newbie
Original poster
Feb 20, 2009
18
0
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 ?
 

gnasher729

macrumors P6
Nov 25, 2005
16,697
3,434
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 ?
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.
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.