NTFS alternate data streams

前端 未结 6 2044
情书的邮戳
情书的邮戳 2020-12-05 03:34

Today I have seen this weird magic NTFS system supports: each file can have multiple data streams. Basically one could have a file a.txt of 0b size but there ca

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-05 03:59

    The Win32 API handles the naming of alternate streams just fine.

    CMD, on the other hand, does some funky parsing of the file name when it's possible to have */? expansion and barfs when a ":" is present. That's why copy and type fail but simple redirection works.

提交回复
热议问题