O$4 - Cross platform path names

Andy Hilton andyh at totallybrilliant.com
Fri Aug 23 18:08:24 EDT 2013


Depends whether you are using posix addressing or not......but for the 'normal' mac use the colon still lives.......

Andy

On Aug 23, 2013, at 5:40 PM, Jeffrey Jones <jjones at synergos.com> wrote:

> I thought they stopped using the colon in OS X, but I'll give it a try.
> 
> -Jeff
> 
> On Aug 23, 2013, at 1:27 PM, Andy Hilton <andyh at totallybrilliant.com> wrote:
> 
>> Jeff
>> 
>> I would suggest trying :
>> 
>>> Company-pc:Company:MarinaWare:Program Files:company.lbs
>> 
>> Assuming your mounted volume on the mac is called 'Company-pc' which is by no means a given !!
>> 
>> You can use the optional constant sys(9) as your platform-specific file delimiter if you wanted to do any conversions from one form to another (ie to do a replaceall of '\' to ':')
>> 
>> Andy
>> 
>> On Aug 23, 2013, at 4:09 PM, Jeffrey Jones <jjones at synergos.com> wrote:
>> 
>>> Hi All,
>>> 
>>> Using Studio 4.3.2.1 Unicode, Windows server, windows clients, and one Mac OS X client.
>>> 
>>> I'm storing a pathname to the server and a second library that I open from within the main library.
>>> 
>>> Pathname on Windows client side is:
>>> 
>>> 	\\Company-pc\Company\MarinaWare\Program Files\company.lbs
>>> 
>>> This library opens fine from the windows client side, but not from the Mac OS X side.
>>> 
>>> On the Mac I have tried:
>>> 
>>> 	//Company-pc/Company/MarinaWare/Program Files/company.lbs
>>> 
>>> 	/Company-pc/Company/MarinaWare/Program Files/company.lbs
>>> 
>>> 	/Volumes/Company-pc/Company/MarinaWare/Program Files/company.lbs
>>> 
>>> 	/Volumes/Company/MarinaWare/Program Files/company.lbs
>>> 
>>> 	/Company/MarinaWare/Program Files/company.lbs
>>> 
>>> None of these pathnames will work. I get a message that says that the file could not be opened. The share from the windows server is mounted and visible on the mac side. The Mac user is connected with full read write access.
>>> 
>>> Any suggestions?
>>> 
>>> -Jeff
>>> 
>>> _____________________________________________________________
>>> Manage your list subscriptions at http://lists.omnis-dev.com
>> 
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>> 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list