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

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

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?


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>





FAQ 120: Updated on: 13 September 2021 11:05 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

  + 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
  + MultiClipBoardSlots
  + OnlyStopWatch
  + KeepMouseSpeedOK
  + NonCompressibleFiles
  + 4ur-Windows-8-Mouse-Balls
  + 12-Ants
  + Q-Dir
  + DirPrintOK
  + FontViewOK
  + PAD-s


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

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.061


► Back to 1803 from Windows 10 1809 October 2018 Auto-Update bugs, how to? ◄

► Reboot and Delete without query, what does The File Unlocker then? ◄

► How do I remove the opening, closing, ejecting tool? (Portable, Installed) ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....