What drive am I running from?
RCS
rcs at rcsprogramming.com
Sat Feb 8 13:02:01 EST 2003
Thanks Klaus!
JR
> Message: 4
> Date: Fri, 7 Feb 2003 19:16:06 +0100
> Subject: Re: What drive am I running from?
> From: Klaus Major <k_major at os.surf2000.de>
> To: metacard at lists.runrev.com
> Reply-To: metacard at lists.runrev.com
>
> Hi JR,
>
> > Does anyone know how to determine what drive your application is
> > rinning
> > from in OSX? You do not get the full path when you do a
> > defaultDirectory on
> > startup...the drive is missing!
> >
> > If you are going to suggest that I do a 'get drives' and parse all of
> > the
> > folders on all of the drives until I figure it out...well, you know
> > what I
> > would say to that.
>
> Thank you? ;-)
>
> Try this:
>
> function where_am_i
> set the itemdel to "/"
> return item 3 of the effective filename of this stack
> end where_am_i
>
> Works fine here...
>
> > Thanks,
> > JR
>
> Have a nice weekend.
>
> Regards
>
>
> Klaus Major
> k_major at os.surf2000.de
More information about the metacard
mailing list