Execute the following in a cmd shell to create a file with two alternate streams and display that it has been created
Code: Select all
type nul > test_ads.txt && echo "text1 in stream" > test_ads.txt:stream1 && echo "text2 in stream" > test_ads.txt:stream2 && dir /r test_ads.txt
Code: Select all
24.06.2021 22:13 0 test_ads.txt
21 test_ads.txt:stream1:$DATA
21 test_ads.txt:stream2:$DATA
Code: Select all
dir /r test_ads.txt