Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: How to give a folder an alias?  (Read 5195 times)

0 Members and 1 Guest are viewing this topic.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
How to give a folder an alias?
« 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.
  :)

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: How to give a folder an alias?
« Reply #1 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

I was trying to dereference Null Pointers before it was cool.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: How to give a folder an alias?
« Reply #2 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.

Salmon Trout

  • Guest
Re: How to give a folder an alias?
« Reply #3 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.