KACF_OLDGETSHORTPATHNAME - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTPEBTEB_H

// PEB->AppCompatFlags
#define KACF_OLDGETSHORTPATHNAME 0x00000001

#endif

View code on GitHub

This application compatibility flag used to be documented in early Windows 10 EWDK.

Applicable to

Meaning

Don't be like Win9x: in GetShortPathName, NT 4 did not care if the file existed - it would give the short path name anyway. This behavior was changed in NT 5 (Win2000) to reflect behavior of Win9x which will fail if the file does not exist. Turning on this flag will give the old behavior for the app.

Related flags