Microsoft/Windows2018. 5. 11. 11:43

미묘하게 두개를 비교해보면 순서가 다른데

이유를 찾아 보니... 이런 망할

그러니까 결론은.. 콘솔창에서 탐색기랑 같은 순서로 볼 방법이 없는건가?

(별도의 dir 대체 프로그램을 StrCmpLogicalW를 쓰지 않고서는?)


Windows Explorer uses a special sorting function, StrCmpLogicalW, which is not used by cmd.exe, hence the differences in the output. You could write your own sorting program with it, though.

You might also be interested in Michael Kaplan's entries on this subject (from Raymond Chen's suggestion box). 

[링크 : https://stackoverflow.com/questions/242913/windows-dir-command-order-by-name-and-something]

'Microsoft > Windows' 카테고리의 다른 글

win10 pe 와 rufus  (0) 2018.06.13
ntfs $Extend  (0) 2018.05.29
자소가 분리되는 문제 NFC/NFD  (0) 2018.03.23
윈도우 콘솔에서 프린터로 출력하기  (0) 2018.03.08
윈도우 7 서비스 팩 2(win7 sp2)  (0) 2018.03.07
Posted by 구차니