Create hard links and soft links under Windows via command prompt!
Sometimes you need space on the hard drive where there is none at all. Hard links and soft links under Windows 11, 10, ... etc. as well as MS Server can help!
1.) Creating the hard links / fixed links on Windows!
For long paths "" use for example "C:\This is a long\path with\Folder xyz"
mklink /H /J "C:\Folder_Hard_Lnk" "C:\True_Folder"
You can also create a hard link on another drive, for example from C:\ to D:\
mklink /H /J "D:\Folder_Hard_Lnk" "C:\True_Folder"
Important: both drives must be in NTFS format !
2.) The creation of soft links / symbolic links!
Almost the same but without the hard-link argument /H
mklink /H /J "c:\Symbolic_Lnk" "C:\True_Folder"
3.) What do you need that for, isn't it confusing?
Yes, it is confusing, but sometimes it can be helpful because you can avoid path and folder problems by setting the hard or soft links. Is not now for the standard Windows 11, 10, ... etc. Users, but it's good to know how it works!
Microsoft Windows [Version 10.0.22000.184]
(c) Microsoft Corporation. All rights reserved.
Creates a symbolic link.
MKLINK [[/D] | [/H] | [/J]] Link Target
/D Creates a directory symbolic link. Default is a file
/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
FAQ 120: Updated on: 13 September 2021 11:05
This is how you can see via the command prompt which websites / servers your computer is secretly connecting to under Windows 11, 10, and MS Server OS
You can simply test the hard drive speed with a command prompt or PowerShell under Windows 11, 10, or MS Server 2022, 2019, etc. There are many
Deactivating, activating and listing the network adapters via command prompt or Powershell is quite easy to do under Windows 11, 10, and MS Server Everyone
Connecting or disconnecting network drives via the command prompt under Windows 11, 10, or MS Server without mouse clicks is a very practical option
The fastest way to run or start the command prompt in every Windows System, is via RUN-Dialog in Windows 11, 10, and MS Server. Please start via Keyboard-Shortcut
Find Your IP Address Quickly in every Windows OS, the solution is to simple for every User Account on Windows 11, 10, . and MS Server Please start the
»» My question is not there in the FAQ
Keywords: windows, console, create, hard, links, soft, command, prompt, need, space, drive, server, Questions, Answers, Software