Displaying 1 result from an estimated 1 matches for "shortcut_target".
2007 Mar 19
1
error running a vb script in wine
...ell.CreateShortcut(shortcut_location & "\" & name
& ".lnk")
Shortcut.TargetPath = target
StartupPath = fs.GetParentFolderName( target )
If fs.FolderExists( StartupPath ) then
Shortcut.WorkingDirectory = StartupPath
End If
Shortcut.Save
End Function
Dim Shortcut_name, Shortcut_target, Shortcut_location
Shortcut_name = WScript.Arguments.Item(0)
Shortcut_target = WScript.Arguments.Item(1)
Shortcut_location = WScript.Arguments.Item(2)
MakeDesktopShortcut Shortcut_name, Shortcut_target, Shortcut_location
Thanks in advance for any help!
Mike