On Apr 3, 2007, at 5:09 PM, Norman Palardy wrote: > If a person needs to call a library that takes a fully qualified path > (say fopen or something like that) that takes a path as a string what > is the "best" way to get the proper path ? > > The ShellPath for a folder item includes escaped characters so those > won't work. > I can just rip the \ out, but I'm concerned that may not give me the > proper path to pass to a C function. > > Ideas for this ? > _______________________________________________
For Linux, use FolderItem.AbsolutePath. For Mac OS, ripping out the escape characters usually works, but for some projects I call File Manager functions to get a POSIX path. Charles Yeomans _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
