ok seems path.delimiter gives you the platform based delimiter, so will use this instead.
it will be ':' on linux and ';' on windows as per their individual standards.