Creating local path from path with ':' seperators

Ask a Question related to Mac Programming, Design and Development.

  1. #1

    Default Re: Creating local path from path with ':' seperators

    In article <vk9s3ppgj1g59@corp.supernews.com>,
    "Harpstein" <mharp@seapine.com> wrote:
    > heya,
    >
    > I've got a path like "Mac HD:Users:harpstein:"
    This can be converted to a FSSpec using FSMakeFSSpec.
    The FSSpec can be converted to a FSRef using FSpMakeFSRef
    > and I want to convert it to the real path of "/Users/harpstein"
    >
    >
    > I've found the FileManager routine FSRefMakePath, but can't figure out how
    > to create the FSRef from the path I have.
    >
    > Any examples would be greatly appreciated.
    Patrick
    --
    Patrick Stadelmann <Patrick.Stadelmann@unine.ch>
    Patrick Stadelmann Guest

  2. Similar Questions and Discussions

    1. Testing path vs Local path -- not matching
      So, I've just set up CFMX7 Developer Edition on my Mac, and it works great -- I can access the server at http://localhost:8500/cfusion/. I have now...
    2. How to put /usr/local/bin in solaris 8 PATH
      Hi, How to put /usr/local/bin in solaris 8 PATH Thank
    3. relative path to local shared object
      Is it possible to force Flash to create and access a local shared object in the same directory as the Flash movie that will be using it instead of...
    4. #25444 [Opn->Bgs]: php4isapi.dll path to win.ini doesn't load from current path.
      ID: 25444 Updated by: sniper@php.net Reported By: ict at primus dot ca -Status: Open +Status: Bogus...
    5. #25444 [NEW]: php4isapi.dll path to win.ini doesn't load from current path.
      From: ict at primus dot ca Operating system: W2K PHP version: 4.3.3 PHP Bug Type: *Configuration Issues Bug description: ...
  3. #2

    Default Re: Creating local path from path with ':' seperators

    On Thu, 21 Aug 2003, Patrick Stadelmann wrote:
    > In article <vk9s3ppgj1g59@corp.supernews.com>,
    > "Harpstein" <mharp@seapine.com> wrote:
    >
    > > heya,
    > >
    > > I've got a path like "Mac HD:Users:harpstein:"
    >
    > This can be converted to a FSSpec using FSMakeFSSpec.
    Only if the path length is less than 255 characters.

    Fred
    > The FSSpec can be converted to a FSRef using FSpMakeFSRef
    >
    > > and I want to convert it to the real path of "/Users/harpstein"
    > >
    > >
    > > I've found the FileManager routine FSRefMakePath, but can't figure out how
    > > to create the FSRef from the path I have.
    > >
    > > Any examples would be greatly appreciated.
    >
    > Patrick
    > --
    > Patrick Stadelmann <Patrick.Stadelmann@unine.ch>
    >
    Frederick Cheung Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139