Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!killer!texbell!nuchat!sugar!peter From: peter@sugar.uu.net (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Re: Amiga Roadblocks to User Friendliness Keywords: ASSIGNS Message-ID: <3185@sugar.uu.net> Date: 30 Dec 88 23:51:25 GMT References: <9407@gryphon.COM> <1410010@hpcvca.HP.COM> <9910@gryphon.COM> <10131@gryphon.COM> Organization: Sugar Land Unix - Houston, TX Lines: 15 In article <10131@gryphon.COM>, keithd@gryphon.COM (Keith Doyle) writes: > 1) where it is being run from (so it can access user data files kept in > the "current" directory), and > 2) what directory it is kept in (so it can access program-related files). > I've yet to see a method where both 1 & 2 can be achieved whether or > not the program is run from the CLI, WorkBench, IconX, Execute() or > LoadSeg/CreateProc. Easy. Use a PROJECT icon. WBArgs[0] is the program's directory and name, WBArgs[1..n] contain the same info for the data files. Same thing for programs run as Browser tools in Workbench mode. -- Peter "Have you hugged your wolf today" da Silva `-_-' Hackercorp. ...texbell!sugar!peter, or peter@sugar.uu.net 'U`