Not sure you can 'turn it off'. A file can be referenced via its short or long path. In fact, there may be older drivers and applications that can't read long paths, paths/file names with spaces,...