"ctrl+x" to junction and symlink work differently

Firstly, there's a file "D:\TESTA\A.txt", and i created a junction "D:\TESTB" point to "D:\TESTA", after that i tried to "CTRL+X" that "TESTB" junction to another path like "C:\",i can access "C:\TESTB\A.txt" now. And "D:\TESTA" and "D:\TESTB" are still at their location, however, "A.txt" was cut to "C:\TESTB\". This is quite different when you try to cut a symlink to another path. Could anyone explain it how juntion or symlink works on filesystem or OS. I m quit confusing since i've goolged this but got no answer.

0 Answers