comp • gb.desktop • desktop • getdirectory

Desktop.GetDirectory (gb.desktop)

Since 3.7

Static Function GetDirectory ( Type As String ) As String

Return the desktop directory specified in its Type argument.

Type can be one of the following value:

  • "DESKTOP"

  • "DOCUMENTS"

  • "DOWNLOAD"

  • "MUSIC"

  • "PICTURES"

  • "TEMPLATES"

  • "VIDEOS"

Desktop.Path is an equivalent of GetDirectory("DESKTOP").