A, B 두 프로그램이 있다.

A에서 짧은 경로를 사용하여 B를 실행하면 B에서 호출한 GetModuleFileName 함수는 짧은 경로를 반환한다.


The string returned will use the same format that was specified when the module was loaded. Therefore, the path can be a long or short file name, and can use the prefix "\\?\".


http://msdn.microsoft.com/en-us/library/windows/desktop/ms683197(v=vs.85).aspx

블로그 이미지

란마12

,