Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Gets short path value for specified file in the 8.3 format

 


Syntax

File_GetShortPath(sFileName) As Boolean

 


Parameters

sFileName (String)

Filename

 


Return value

Result will be stored in gsValue 


Example

Code Block
languagevb
themeEclipse
languagevb
titleVBScript
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 


Related functions

File_GetFileDateCreated File_GetShortPath File_GetVersion