Verifique o atributo do arquivo com o comando CMD attrib
if the default plain file symlink type is lacking its DOS SYSTEM bit, or if the shortcut file is lacking the DOS READONLY attribute, they are not recognized as symlink.
Dados dois caminhos com o mesmo conteúdo:
D:\dir1\file1
D:\dir1\symlink1-to-file1
D:\dir2\file1
D:\dir2\symlink1-to-file1
Se eu criar D:\dir2\symlink1-to-file1
copiando o windows de D:\dir1\symlink1-to-file1
, o link não funcionará e o comando file
será exibido:
D:\dir2\symlink1-to-file1: data
Por quê?
Verifique o atributo do arquivo com o comando CMD attrib
if the default plain file symlink type is lacking its DOS SYSTEM bit, or if the shortcut file is lacking the DOS READONLY attribute, they are not recognized as symlink.
Tags symbolic-link windows cygwin