home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!mimsy!alex
- From: alex@cs.umd.edu (Alex Blakemore)
- Newsgroups: comp.sys.next.programmer
- Subject: Re: Command-line apps now harder (Can you pass arguments?)
- Message-ID: <60105@mimsy.umd.edu>
- Date: 5 Sep 92 03:47:36 GMT
- References: <1992Sep2.141110.19865@pencom.com> <1992Sep4.194248.568@leland.Stanford.EDU>
- Sender: news@mimsy.umd.edu
- Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
- Lines: 15
-
- In article <1992Sep4.194248.568@leland.Stanford.EDU> cooldude@elaine49.stanford.edu writes:
- > How can you also pass arguments to the application being opened. e.g, open
- > bar.app and have it open a file called "foo".
-
- open foo.x
-
- will open the file foo.x using whatever app you've selected
- as the default app for files with suffix x, just as if
- you'ld double clicked it in a Workspace file viewer.
-
- no extension - and you'll get the default app - probably Edit.
-
- --
- ---------------------------------------------------
- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
-