Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Command Prompt - Windows 11, 10, etc. ► ««« »»»

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!
2.) ... The creation of soft links / symbolic links!
3.) ... What do you need that for, isn't it confusing?
4.) ... Understand the difference between soft links and hard links!


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. C:\Windows\system32>mklink 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. C:\Windows\system32>



4.) ... Understand the difference between soft links and hard links!



Just read the two glossaries if the statement that both are links is not enough for you, but a soft link is quicker to recognize as a link!

►►   What does soft links mean?  ►►  What does hard link mean?







FAQ 120: Updated on: 2 October 2023 20:19 Windows
Windows-Console

See the secret network connections to the computer in command prompt! 


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
Windows-Console

Hard drive speed with command prompt or PowerShell!


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
Windows-Console

Deactivate, activate, list network adapters via command prompt!


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
Windows-Console

Map network drives via the command prompt under Windows!


Connecting or disconnecting network drives via the command prompt under Windows 11, 10, or MS Server without mouse clicks is a very practical option
Windows-Console

Optimize drives about the command prompt on MS Windows OS!


Yes, and its easy to optimize drives on Windows 11, 10, from the command prompt using the defrag command Everyone probably knows the drive optimization
Windows-Console

Export a list of running processes as a text file with cmd.exe!


Its easy to export a list of running processes as a text file using the command prompts cmd.exe on Windows 11, 10, etc 1. exporting the running
Windows-Console

Generate file hash via command prompt!


Sometimes you need the SHA value of a file, in the command prompt you can create a file hash under Windows 11, 10, Hash algorithms: MD2 MD4 MD5 SHA1

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: windows, console, create, hard, links, soft, command, prompt, need, space, drive, server, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + PreventTurnOff
  + QuickMemoryTestOK
  + IsMyHdOK
  + AutoPowerOptionsOK
  + OneLoupe
  + TraceRouteOK
  + GetWindowText
  + AutoHideMouseCursor
  + Desktop.Calendar.Tray.OK
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► Keyboard settings Windows 10/11! ◄
► Download free cleanup tool for Windows and MS Server! ◄
► Windows 10 or 11 version and build number on the desktop! ◄
► Delete users with the command control userpasswords2! ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....