Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!uw-beaver!ubc-cs!alberta!mts.ucs.UAlberta.CA!David_Halliwell From: userDHAL@mts.ucs.UAlberta.CA (David Halliwell) Newsgroups: comp.os.msdos.misc Subject: Re: Simbolic Links Message-ID: Date: 4 Jan 91 23:27:18 GMT References: <1991Jan1.165121.10930@ccu.umanitoba.ca> <1991Jan4.002336.7195@xrtll.uucp> Organization: MTS Univ of Alberta Lines: 28 In article <1991Jan4.002336.7195@xrtll.uucp>, silver@xrtll.uucp (Hi Ho Silver) writes: >In article <1991Jan1.165121.10930@ccu.umanitoba.ca> umrose05@ccu.umanitoba.ca (Dave Rose) writes: >$ Does anyone out there know how to create a symbolic link in >$dos?? Basicly what I want to do is have a directory name that is just an >$alias of the real directory on another drive...Is this possible? I know it >$is in unix with the ln command, but I desperately need it in dos. > > No can do. The structure of DOS filesystems is very different from >that of Unix filesystems, and is not designed to permit linking. >-- . I don't know about using a new directory name for a directory on another drive, but if you are satisfied with a new drive letter, then the SUBST command (external) should do the trick. Syntax is: . SUBST d: path You can then access the path by just specifying the new drive letter. The drive letter you use must be different from the current drive, but it can be the letter for an existing drive (e.g. B:) or non-existent (e.g. K:) In the latter case, you are limited by whatever is specified by LASTDRIVE (default is E). . You can remove the substitution using /d. You can look at the list of active substitutions by typing just SUBST. Won't work on a network drive, though. Dave Halliwell