blgardne@esunix.UUCP (Blaine Gardner) (01/05/87)
Does anyone know of a way to reassign the name of a file? My problem is this: I've replaced ED and EDIT in my C directory with TxEd (highly recommended!). TxEd itself is named E, and TxEd and StarTerm expect it to be named E, or they can't find it. No problem, except other programs expect to find an editor called ED. And to make things worse, I just got hold of DirUtil II (4.0), and it wants to find an editor called (strangely enough :-) EDITOR. Now I know that I can reassign disks and directories with ASSIGN, but is there any way to do this with a file? Even though TxEd is only 25K, I really don't have the room on my WorkBench disk to keep 3 (or more) copies of it under different names in order to keep all these programs happy. What I'm after is a way to say: ED = E (or alias ED E) EDITOR = E ( alias EDITOR E). So that EDITOR, ED, and E will all find the same copy of TxEd which happens to be named E. Can anyone help, or is this a pipe dream? -- ================================================= "The Admiral is well aware of the regulations..." ================================================= Blaine Gardner @ Evans & Sutherland {ihnp4, decvax}!decwrl!esunix!blgardne 560 Arapeen Drive Salt Lake City, Utah 84108 (801) 582-5847
tas@mtuxo.UUCP (t.skrobala) (01/11/87)
------- Re wanting to have several names for one program: one thing you could do would be to write several short programs with the names you want, where each one simply Execute()s (or fexecv(), or whatever) the actual program of interest. Definitely a kludge, and the idea doesn't apply if you want multiple names for files other than programs.... Tom Skrobala mtuxo!tas AT&T Information Systems, Middletown NJ Disclaimer: AT&T would probably recommend that you buy UNIX, which has filename links....