I need help getting this program to work going from windows to mac

Macintosh paths are simply Unix paths. There is not really a significant difference between them. So long as the special characters are escaped properly they should behave like unix.

Do you have examples of paths that are problematic?