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
Function: A class to create shortcuts on Windows.
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."
msgBox "Failed to create shortcut."
end if

Feedback, Comments & Corrections

This class has no sub classes.

Some examples using this class:

Blog Entries

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

WindowsSerialPortsMBS   -   WindowsStoreAppLicenseMBS

The biggest plugin in space...

MBS FileMaker Plugins

Start Chat