Path: utzoo!utgpu!watserv1!watmath!att!rutgers!cs.utexas.edu!samsung!uunet!omni!bob From: bob@omni.com (Bob Weissman) Newsgroups: comp.sys.ibm.pc Subject: Re: 'link'ing a la U*IX in DOS Summary: Here's a DOS symlink Message-ID: <2336@borabora.omni.com> Date: 4 Jun 90 22:57:25 GMT References: <1990Jun1.193543.13903@ccu.umanitoba.ca> <1990Jun4.025220.2149@druid.uucp> Organization: OMNI Solutions, Mountain View, CA Lines: 77 In article <1990Jun4.025220.2149@druid.uucp>, darcy@druid.uucp (D'Arcy J.M. Cain) writes: > OK so I guess what I meant to say was "You can't do it with DOS and expect > to have a healthy file system that acts in a predictable way and anyway you > can't do it easily." Following is a DOS symlink facility from Fridrik Skulason of the University of Iceland, posted back in February. I have NOT personally tested it; you're on your own... ---------- Begin included message ---------- Two days ago I mentioned a program I had written for solving the "linking" problem. Since I have received a number of requests for it, I am posting it here. Before anybody starts flaming me for posting a program to a .d group, please consider: a) comp.binaries.ibm.pc is currently not active b) this is a very short posting Anyhow - this xxencoded (note - not uuencoded) PKARCed file contains two programs. LINKFILE (C source provided - use Turbo C to compile) is used to create the "links". Example: If you give the command LINKFILE E:\LIBRARY\MYINCL.H the file MYINCL.H will be created in the current directory. It contains: FLFLE:\LIBRARY\MYINCL.H F-LINK.EXE is a resident program. It intercepts INT 21 calls, functions 3C, 3D and 5B (Open and create file). If the file being opened (or created) exists and starts with "FLFL", the rest of the file is assumed to contain the actual path name. The programs do not provide a full solution to the problem, but I hope they will be of use to somebody. -frisk begin 400 f-link.arc h4UV49Il7HYgiFJV3+0I+ik2++26IwM2kYI+2+++AHPE++H++E+2+6++czDSD hV26+XT6l+L+-U6S5+E0Qm+VU-gQz3+3M0ZYg78Fz+0--An93EAckUDXlcDAU hNUwu0a7icJB+rIA+9YO-+Nf6UFU+IePU+h01Yshz5iU+Y9BY2HMD1XvcUU+U h3lE+h5ssVGeJZcylIM24wg5J07Au6JmgZE1+PFoAiWU+1HLIlG8X+B-8zP-3 hWn6-EDwS7On3-Jw+umGZT-0UllEXR0ms4CE1EQMu0HPvID+tk1CT1kTZ2p0b hr8-x+CcEkALkqSg+ROvV0Z4XKEV4k5ccfCACpsjSjsAD3yT0YE2k+KUZwRrQ hUtr23eHi9Y5RYETGTWpsBgsxl9CI2FccAB80GF6bGo0YaEAW1-gtNQ8EmGDT hnFkuxf3F-VYie2S0Simt-lw6RdEVllldjC24014sQ+A6O6F-blVZZ13V4js- hm6O+--eMZL56+PT+AA6-EAQ4i3mK0q6nPBDA0nokJ+Q1iWV2Gk8ysF6+2vvd h2U7ME6Ok3+0CM2B939sZsU3oXanX5+hUHOSYEYqW48I5bX3W+4aul+A+SI5m hxeJIMZub0lZbVZ0S9VKhM+3oGwLU4lc6H2ZCGoN7H2IiEk+Z7IU-++-035dy hPH1G+E++10DGi-b1dUuNAW-sn8317goP3qVwB3+EQ41-UkYLYa4HFUl2WFE3 h2XG6Y6T1XlAfXgGcAAwQ9Uj1o22NoW97X5HY01l1IyL3YUrZo7nM7cl+3+9d hU+UXtwkM3aDEA+KVUiYNCpiud7WsNm86fm0GUX0nkmjMe3DBd43HNYiC9Wn8 hs84ndEPQBrLcldXFdOk0g45BU2-VREm621pYPDo9hei0-01Ut7q1EYGJCK5C hZB2-UYYG7oiA743GNCnOAW7Gy6IgBkoR313IazrONzNMBrDUQ5lh3KgAi2ue hA4506jVk3afNldofaz3LAqvOZ4ZO-UJSCWl2WAWyDLaNtLGO+lPQ+wEMCKJY hKgz9MgeL73SY783GF1nMCnfdJ1SHrEUHzxjFMBxLy9aq5kixPT2P0kj7kNMP JV1LZapMflCMLM+GxAQRynTKV+Fc+ + end -- Fridrik Skulason University of Iceland frisk@rhi.hi.is Computing Services Guvf yvar vagragvbanyyl yrsg oynax ................. ---------- End included message ---------- -- Bob Weissman Internet: bob@omni.com UUCP: ...!{apple,pyramid,sgi,uunet}!omni!bob