[转]windows 短文件名短路径名规则

Because short file names can contain only one period (.), Windows removes additional periods from the file name if valid, non-space characters follow the final period in the file name. For example, Windows generates the short file name

Thisis~1.txt

from the long file name

This is a really long filename.123.456.789.txt

Otherwise, Windows ignores the final period and uses the next to the last period. For example, Windows generates the short file name

Thisis~1.789

from the long file name

This is a really long filename.123.456.789.