Article ID: 244677 - Last Review: August 27, 2007 - Revision: 3.6 How to create a desktop shortcut with the Windows Script Host
This article was previously published under Q244677 SUMMARY
The Microsoft Windows Script Host (WSH) is a tool that allows you to run Microsoft Visual Basic Scripting Edition and JScript natively within the base Operating System, either on Windows 95 or Windows NT 4.0. It also includes several COM automation methods that allow you to do several tasks easily through the Windows Script Host Object Model.
The Microsoft Windows Script Host is integrated into Windows 98, Windows 2000, and later versions of the Windows operating system. It is available for Windows NT 4.0 by installing the Windows NT 4.0 Option Pack.
To download this tool, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/ms950396.aspx
(http://msdn2.microsoft.com/en-us/library/ms950396.aspx)
MORE INFORMATION
This program demonstrates how to use the Windows Script Host to create
a shortcut on the Windows Desktop. In order to run this example, you must have the Windows Script Host installed on your computer. To run one of these examples, copy the code below into a new program file and run it. Example 1Example 2(Add a command line argument)Example 3(Add a URL Shortcut to the desktop)REFERENCESFor additional information, look for the following references on the Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/ms950396.aspx
(http://msdn2.microsoft.com/en-us/library/ms950396.aspx)
White paper:Windows Script Host: A universal Scripting Host for scripting languages Technical Paper: Windows Script Host programmer's reference APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
