﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1982	FileGetShortName crashes when path is too long	Pinault	trancexx	"OK for not supporting long paths in most API (see ticket 1795)... fair enough.

But what about FileGetShortName? Surely, this function should not crash when requesting a short name.

Here, there is a double issue actually:
- the function crashes if the file doesn't exist... well fair enough.
- the function crashes even if the file exists.

I wrote FileGetShortNameV2 and been using it for a while to demonstrate what the proper behaviour should be to allow to work with long paths: it is squizzing the path but leaves the filename intact.

eg. 'C:\DOCUME~1\PSZCZE~1\LOCALS~1\Temp\AUTOIT~1\FILEGE~1\CRASHT~1\the_filanemeis_the_original_one.txt'

And, btw, using this, it would be possible to create a FileWriteV2, FileReadV2, etc. functions.

Anyway, I don't think FileGetShortName should be crashing when being fed with a long path...
"	Bug	closed	3.3.7.21	AutoIt	3.3.6.1	None	Fixed		
