Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!oliveb!amiga!cbmvax!jesup
From: jesup@cbmvax.UUCP (Randell Jesup)
Newsgroups: comp.sys.amiga.tech
Subject: Re: File name of current task
Message-ID: <7991@cbmvax.UUCP>
Date: 25 Sep 89 20:17:52 GMT
References: <2045@leah.Albany.Edu> <623@tardis.Tymnet.COM>
Reply-To: jesup@cbmvax.UUCP (Randell Jesup)
Organization: Commodore Technology, West Chester, PA
Lines: 15

In article <623@tardis.Tymnet.COM> jms@tardis.Tymnet.COM (Joe Smith) writes:
>In article <2045@leah.Albany.Edu> wfh58@leah.Albany.Edu (William F. Hammond) writes:
>>P.S. "argv[0]" *ought* to be the filename rather than the command line entry.
...
>I'm surprised this wasn't part of AmigaDOS 1.0.

	Don't be.  The CLI was almost an afterthought (remember the CLI switch
in preferences?)  Originally, you were supposed to run everything (more or
less) from Workbench, which gives you a lock on the directory you were loaded
from.

-- 
Randell Jesup, Keeper of AmigaDos, Commodore Engineering.
{uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com  BIX: rjesup  
Common phrase heard at Amiga Devcon '89: "It's in there!"