Relative File Paths

Any Mac coders/users out there that now how to use relative file paths on Mac OS 10.3+ ?

I know that using Windows/Unix file paths doesn't work ie using "folder/file.ext" rather you have to use "folder:file.ext". In Win/Unix you use "../" to point to a file outside the file's folder, I need to know the Mac equivalent, could it be "..:".

Thanks

#332244

cd ..

brings you in parent folder...

here copy-paste from my terminal... IMO ../ works ))

mac:/etc nilcolor$ pwd
/etc
mac:/etc nilcolor $ cd ../etc
mac:/etc nilcolor $ pwd
/etc
mac:/etc nilcolor $

#332415

Thanks but it's not for the terminal.

I found out that when using claasic mac file path notation e.g. "volume:folder:folder:file" that the relative addressing for the parent folder is "::".

#332531