Hi<br><br>This is really 4 questions:<br><br>One: Since Windows users the '\' (backslash) character and Linux uses the '/' (foreslash) character in file paths, have I got those the right way around?<br><br>
Two: What do Macs use for directory path separator character?<br><br>Three: Is the a cross-platform function (or procedure) for correcting the file path separator character? I believe that there is one.<br><br>e.g. c:\Program Files\Fred's software\data (folder) >>> c:/Program Files/Fred's software/data (folder)<br>
<br>Yes, I am well aware the c:\Program Files\ does usually exist on Linux systems. Actually, if it does exist it will be:<br><br>~/Home/.wine/drive_c/ (folder) with Wine installed.<br><br>So, it would become ~/Home/.wine/drive_c/Program Files/Fred's software/data/ (folder)<br>
<br>Four: Is the a compiler directive (cross-platform) or other way of detecting the OS of the user's system?<br><br>pew<br><br clear="all">Fond Regards, Peter Eric WILLIAMS <br>--- Hobart, Tasmania, Australia<br>--- Phone: +61 (03) 6236-9675<br>
My free websites are: <a href="http://pewink.info" target="_blank">http://pewink.info</a> (&)<br> <a href="http://pewslinuxvault.googlepages.com" target="_blank">http://pewslinuxvault.googlepages.com</a><br>