Computer Hope

Microsoft => Microsoft Windows => Windows Vista and 7 => Topic started by: Geek-9pm on May 16, 2016, 12:33:03 PM

Title: How to give a folder an alias?
Post by: Geek-9pm on May 16, 2016, 12:33:03 PM
This request is for windows 7. The problem is  help how to give a folder an alias. The idea is to give an old folder a better name, a name that makes more sense. But other programs already are unsung the original folder name.

Yes, shortcuts can be given different names. But that is not the same as an alias. For example, both the MAC OS and  Linux s have an alias for folders. But what about Windows. Windows 7 is what I have been looking at.

Any comments? Please.
  :)
Title: Re: How to give a folder an alias?
Post by: BC_Programmer on May 16, 2016, 12:39:42 PM
use MKLINK.
Code: [Select]
Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory symbolic link.  Default is a file
                symbolic link.
        /H      Creates a hard link instead of a symbolic link.
        /J      Creates a Directory Junction.
        Link    specifies the new symbolic link name.
        Target  specifies the path (relative or absolute) that the new link
                refers to.

eg. MKLINK /D D:\NewName D:\OldName

Title: Re: How to give a folder an alias?
Post by: Geek-9pm on May 16, 2016, 01:02:21 PM
Thanks. I did not know about the MKLINK command.
http://www.computerhope.com/mklink.htm
It is in all current versions  of Windows. I didn't know.  :-[

BTW: Doing some research on MKLINK, it was available back with Windows  NT and 2000. But you had to buy the resource kit to get it. I never did, so I never knew.
Title: Re: How to give a folder an alias?
Post by: Salmon Trout on May 18, 2016, 11:11:33 AM
But you had to buy the resource kit to get it. I never did, so I never knew.
Although you could buy Resource Kits with books, CDs, etc, the software utilities have always been available as free downloads from Microsoft, or so I thought.