I often switch between Linux and Windows. A number of my LaTeX files use images from a central folder. All of these are within a Dropbox folder, which is how I sync between them.
The dropbox folders are in different paths on Windows and Linux, so I would like to make a macro which detects the OS and uses the correct path.
ifplatformpackage. – TeXtnik Feb 20 '13 at 14:46