
Simbolic link in Windows (folders and files)
if I knew this earlier....
A symbolic link (symlink) is a special file that serves as a "pointer" or redirection to another folder or file within the system. Unlike a standard shortcut, the operating system and software applications treat a symlink as if it were the actual file or folder itself, allowing you to access data stored on separate drives or paths without duplicating storage space.
How to create in Command Prompt (CMD)
Open CMD as Administrator and use the following structure:
mklink /d "Path\To\Symbolic\Link" "Path\To\Target\Folder"for directories (folders).mklink "Path\To\Symbolic\Link" "Path\To\Target\File"for files.
How to create in PowerShell
Open PowerShell as Administrator and use the command:
New-Item -ItemType SymbolicLink -Path "Path\To\Symbolic\Link" -Value "Path\To\Target"
Step-by-Step via Graphical Interface
- Install the tool: Download and install Link Shell Extension (it adds options directly to the Windows Explorer context menu).
- Select the Target: Right-click the original folder or file (the target) and select Pick Link Source.
- Create the Link: Go to the folder where you want the symbolic link to be, right-click an empty space, hover over Drop As... and choose Symbolic Link.