User Tools

Site Tools


dev:windows

This is an old revision of the document!


file links

  • junction: i forget, for directories.
  • symbolic link: like a shortcut file, except it doesn't work. never use symbolic link.
  • hard link: link

if you delete the hard link, it doesn't take the source with it.

how2

  • -Path is where the “link” is; i.e., that's where the pointer itself lives.
  • -Target is where the link's target is; i.e., that's where the pointer is targeted. (don't say source, you'll only get confused)

have to be admin. :(

  New-Item -ItemType HardLink -Path 'C:\Users\agrey\source\repos\api.platform.claims\api.platform.claims\Properties\launchSettings.json' -Target './launchSettings.json'
dev/windows.1676354858.txt.gz · Last modified: 2023/02/14 06:07 by 127.0.0.1