… = DesktopFile[…] (gb.desktop)

Dim hDesktopFile As DesktopFile
hDesktopFile = DesktopFile [ Program As String ]

Returns the desktop entry file registered on the system for the Program name.

This approach is for accessing the desktop entry files registered on the current system NOT the ones on the user's desktop. To access those use _new.

Example

To access the system wide desktop entry for FireFox:

Dim hDesktopFile As DesktopFile

hDesktopFile = DesktopFile["firefox"]