ASP's Create a shortcut on the server side

Source: Internet
Author: User
Create | server | Shortcuts Create a shortcut on the server side with ASP (I don't know if it's too much, maybe just play it.) It requires the Wshshortcut object of the WSH object.

Wshshortcut objects
The object is not directly given. To get the Wshshortcut object, use the Wshshell.createshortcut method.

ProgID N/A
FileName Wshom.ocx
CLSID f935dc28-1cf0-11d0-adb9-00c04fd58a0b
IID f935dc27-1cf0-11d0-adb9-00c04fd58a0b


The following table describes the properties associated with the Wshshortcut object.

Attribute description
Arguments the shortcut object's parameters.
Description a description of the shortcut object.
Hotkey the shortcut object's hotkey.
IconLocation the icon position of the shortcut object.
TargetPath the target path of the shortcut object.
WindowStyle the window style of the shortcut object.
WorkingDirectory The working directory of the shortcut object.


The following table describes the methods associated with the Wshshortcut object.

Method description
Save stores the shortcuts in the specified file system.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.