0

Given two paths with the same content:

D:\dir1\file1
D:\dir1\symlink1-to-file1

D:\dir2\file1
D:\dir2\symlink1-to-file1

If I create D:\dir2\symlink1-to-file1 by windows-copying it from D:\dir1\symlink1-to-file1, the link won't work and the file command will output :

D:\dir2\symlink1-to-file1: data

Why ?

0

Check file attribute with CMD command attrib

https://cygwin.com/cygwin-ug-net/using.html#pathnames-symlinks

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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.