Aide:FileGetShortName.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Function###
FileGetShortName

###Description###
Returns the 8.3 short path+name of the path+name passed.

###Syntax###
FileGetShortName ( "file" [, flag] )


###Parameters###
@@ParamTable@@
file
	full path and file name to convert
flag
	[optional] if 1 file can have relative dir, e.g. "..\file.txt"
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns the 8.3 short path+name of the path+name passed.
Failure:	Returns the parameter and sets @error to 1.
@@End@@


###Remarks###
The file need to exist as there is no way to known the exact ~i if several file have the same 8 first characters.

###Related###
FileGetLongName


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

###Function###
FileGetShortName

###Description###
Retourne le chemin + nom au format court 8.3 du chemin + nom donné.


###Syntax###
FileGetShortName ( "file" [, flag] )


###Parameters###
@@ParamTable@@
file
	Le chemin complet et nom du fichier à convertir
flag
	[optionnel] Si Flag = 1, le fichier peut avoir un répertoire relatif, par exemple "..\ fichier.txt"
@@End@@


###ReturnValue###
@@ReturnTable@@
Succès:	Retourne le chemin + nom au format court 8.3 du chemin + nom donné.
Échec:	Retourne le paramètre et met @error à 1.
@@End@@


###Remarks###
Le fichier doit exister car il n'y a aucun moyen de connaître le ~i exacte si plusieurs fichiers ont les 8 premiers caractères identiques.


###Related###
<a href="FileGetLongName.htm">FileGetLongName</a>


###Example###
@@IncludeExample@@


Traducteur :TT22