Renvoie le chemin abrégé utilisé par les programmes qui emploient la convention de dénomination 8.3.
object.ShortPath
L'argument object représente toujours un objet File ou Folder.
Le code suivant illustre l'emploi de la propriété ShareName avec un objet File :
Function ShowShortPath(filespec)
Dim fso, f, s
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFile(filespec)
s = "Le chemin abrégé de " & UCase(f.Name) & "<BR>"
s = s & "est: " & f.ShortPath
ShowShortPath = s
End Function
Attributes, propriété | DateCreated, propriété | DateLastAccessed, propriété | DateLastModified, propriété | Drive, propriété | Files, propriété | IsRootFolder, propriété | Name, propriété | ParentFolder, propriété | Path, propriété | ShortName, propriété | Size, propriété | SubFolders, propriété | Type, propriété
Application: File, objet | Folder, objet