C:\>echo "This is test">sample.txt

C:\>dir

2017/03/23 14:59                17 sample.txt

C:\>echo "This is hidden">sample.txt:secret.txt

C:\>dir                           (C盘下是找不到这个文件的)

2017/03/23 15:01                17sample.txt           (文件大小看上去没有变化)

C:\>dir /r                      (/r 才显示)

2017/03/23 15:01                17 sample.txt

                                 19sample.txt:secret.txt:$DATA

C:\>notepad sample.txt:secret.txt                  

把bad.exe文件关联good.exe,也就是在dos中运行good.exe文件的时候其实是运行了bad.exe,在目录下生成了一个good.exe的快捷方式。

C:\>echo "This is test">test.txt

C:\>type C:\bad.exe >test.txt:bad.exe

C:\>mklink good.exe test.txt:bad.exe

C:\>good.exe