This program is used to replicate the Windows desktop and start menu into the native desktop's copies. Desktop entries are merged directly into the native desktop. The Windows Start Menu corresponds to a Wine entry within the native "start" menu and replicates the whole tree structure of the Windows Start Menu. Currently it does not differentiate between the user's desktop/start menu and the "All Users" copies.
This program will read a Windows shortcut file using the IShellLink interface, then invoke wineshelllink with the appropriate arguments to create a KDE/Gnome menu entry for the shortcut.
wine winemenubuilder [ -w ] <shortcut.lnk>
If the -w parameter is passed, and the shortcut cannot be created, this program will wait for the parent process to finish and then try again. This covers the case when a ShortCut is created before the executable containing its icon.