Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi, Just wondering: is it possible to create symobolic links on directories, just like you would in UNIX ?
It could be used for example the following, when asking to save a file (from an internet browser, a word processor, some or another program ..) it is sometimes hard to navigate to a certain directory, you want to place this file. You could then, create a subdirectory on the desktop, which actually is that directory somewhere on some disk.

Hmmm... I don't know if that's possible.
However, you may assign the directory to a variable on your autoexec.bat file, so you could use that variable.
Example: in autoexec.bat:
SET X=C:\Myfile~1\Data\Other\NonsenseOn the command prompt, to EDIT the file stuff.dat located on that strange directory above, you would do:
edit %X%\stuff.dat
instead of
edit C:\Myfile~1\Data\Other\Nonsense\stuff.dat
-- Leonardo Pignataro - Secret_Doom --
secret_doom@hotmail.com
www.batch.hpg.com.br

Use the SUBST command. It exists in DOS 6.22 and Win98 DOS. I am not certain about other flavors of DOS.
Syntax is:
SUBST [drive1: [drive2:]path]
drive1 = assigned drive letter
drive2: path = path to assign to drive1SUBST drive1: /D
delete said linkSUBST
list all assicated paths and their drive letters.
Type SUBST /? at a command prompt if in doubt of proper usage.-Doug

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |