Skip to content

File\_GetShortPath

Gets short path value for specified file in the 8.3 format

File_GetShortPath(sFileName) As Boolean

sFileName (String)

Filename

Result will be stored in gsValue

VBScript

If bStatus Then bStatus = File_GetShortPath(gsProgramFiles & "\CapaInstaller\Agent\CIAgent.exe")
If bStatus Then bStatus = Job_Writelog("Custom", "Short path for specified file is: " & gsValue, bStatus, True)

Scripting Guidelines

File_GetFileDateCreated File_GetShortPath File_GetVersion