Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!uupsi!sunic!isgate!krafla!frisk From: frisk@rhi.hi.is (Fridrik Skulason) Newsgroups: comp.os.msdos.programmer Subject: Re: Symbolic link in MS-DOS Message-ID: <3215@krafla.rhi.hi.is> Date: 30 May 91 20:08:36 GMT References: <1991May29.153829.8742@bullet.ecf.toronto.edu> <1991May29.165933.12688@borland.com> Reply-To: frisk@rhi.hi.is (Fridrik Skulason) Organization: University of Iceland (RHI) Lines: 17 In article <1991May29.153829.8742@bullet.ecf.toronto.edu> xiaoy@bullet.ecf (XIAO Yan) writes: >... so I assume that it is feasible to have symbolic link... Well, yes and no - I did write such a program once, and it works (sort of). It creates a link by creating a small program containing a special header and the name of the "linked" file or directory. A small TSR program will then intercept the DOS "Open" function. The program is not finished (it does not intercept FCB calls) - maybe I'll get the time soon, but considering the number of new viruses awaiting analysis I doubt it... :-( -frisk Fridrik Skulason Technical Editor of the Virus Bulletin (UK) (author of F-PROT) E-Mail: frisk@rhi.hi.is Fax: 354-1-28801