Announcement

Collapse
No announcement yet.

Logon Script

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Logon Script

    I am using the following script:
    I need to have a specific ICON for the shortcut.
    The icon file will be located in the same folder as the script.
    How can I change my exsisting script to do this?
    Thanks
    Here is the script I am using now:

    'Create a ShortCut to the ExecuTrain Libraries on desktop:
    'Create a WshShell Object
    Set WshShell = Wscript.CreateObject("Wscript.Shell")
    'Create a WshShortcut Object
    strDesktop = WshShell.SpecialFolders("Desktop")
    Set oURLLink = WshShell.CreateShortcut(strDesktop + "\www.microsoft.com.URL")
    'Set the Tragte URL
    oURLLink.TargetPath = "http://www.microsoft.com/"
    'Save the shortcut
    oURLLink.Save
    ________
    Live Sex Webshows
    Last edited by meterman; 16th August 2011, 12:16.

  • #2
    Re: Logon Script

    http://forums.petri.com/showthread.php?t=6810

    FYI for anyone wanting the answer to this.
    * Shamelessly mentioning "Don't forget to add reputation!"

    Comment

    Working...
    X