Platforms to show: All Mac Windows Linux Cross-Platform

WindowsShortCutMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows Shortcuts MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
A class to create shortcuts on Windows.
Example
dim w as WindowsShortCutMBS

w = new WindowsShortCutMBS

w.Arguments = ""
w.Command = 3
w.Icon = specialfolder.system.child("shell32.dll").NativePath
w.iconID = 41
w.Location = SpecialFolder.Desktop.child("A new link to explorer.lnk").NativePath
w.Target = SpecialFolder.Windows.child("explorer.exe").NativePath
w.WorkingDirectory = volume(0).NativePath

if w.CreateShortCut then
msgBox "Shortcut created."
else
msgBox "Failed to create shortcut."
end if

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS Win Plugin.


WindowsSerialPortsMBS   -   WindowsStoreAppLicenseMBS


The biggest plugin in space...