CINXE.COM
Windows Script Host - Wikipedia
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Windows Script Host - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"2f5bb967-17ed-456b-b060-88908cc34969","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Windows_Script_Host","wgTitle":"Windows Script Host","wgCurRevisionId":1239131866,"wgRevisionId":1239131866,"wgArticleId":288448,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Webarchive template wayback links","Articles with short description","Short description is different from Wikidata","All articles with vague or ambiguous time","Vague or ambiguous time from March 2015","Internet Explorer","Windows administration","Windows components"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Windows_Script_Host","wgRelevantArticleId":288448,"wgIsProbablyEditable":true, "wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":30000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q1152468","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics": true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.tablesorter.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","site","mediawiki.page.ready","jquery.tablesorter","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin", "mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.cite.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.tablesorter.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/en/0/0a/Windows_Script_Host_Icon.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="1200"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/en/0/0a/Windows_Script_Host_Icon.png"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="800"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="640"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Windows Script Host - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/Windows_Script_Host"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Windows_Script_Host&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/Windows_Script_Host"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Windows_Script_Host rootpage-Windows_Script_Host skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&returnto=Windows+Script+Host" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&returnto=Windows+Script+Host" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Windows+Script+Host" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Windows+Script+Host" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">(Top)</div> </a> </li> <li id="toc-Usage" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Usage"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Usage</span> </div> </a> <ul id="toc-Usage-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Examples" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Examples"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Examples</span> </div> </a> <ul id="toc-Examples-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Security_concerns" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Security_concerns"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Security concerns</span> </div> </a> <ul id="toc-Security_concerns-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Available_scripting_engines" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Available_scripting_engines"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Available scripting engines</span> </div> </a> <ul id="toc-Available_scripting_engines-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Version_history" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Version_history"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Version history</span> </div> </a> <ul id="toc-Version_history-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-References" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#References"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>References</span> </div> </a> <ul id="toc-References-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-links" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#links"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>links</span> </div> </a> <ul id="toc-links-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Windows Script Host</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Go to an article in another language. Available in 12 languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-12" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">12 languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Windows_Script_Host" title="Windows Script Host – German" lang="de" hreflang="de" data-title="Windows Script Host" data-language-autonym="Deutsch" data-language-local-name="German" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Windows_Script_Host" title="Windows Script Host – Spanish" lang="es" hreflang="es" data-title="Windows Script Host" data-language-autonym="Español" data-language-local-name="Spanish" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Windows_Scripting_Host" title="Windows Scripting Host – French" lang="fr" hreflang="fr" data-title="Windows Scripting Host" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EC%9C%88%EB%8F%84%EC%9A%B0_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%ED%98%B8%EC%8A%A4%ED%8A%B8" title="윈도우 스크립트 호스트 – Korean" lang="ko" hreflang="ko" data-title="윈도우 스크립트 호스트" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Windows_Scripting_Host" title="Windows Scripting Host – Indonesian" lang="id" hreflang="id" data-title="Windows Scripting Host" data-language-autonym="Bahasa Indonesia" data-language-local-name="Indonesian" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Windows_Script_Host" title="Windows Script Host – Italian" lang="it" hreflang="it" data-title="Windows Script Host" data-language-autonym="Italiano" data-language-local-name="Italian" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/Windows_Script_Host" title="Windows Script Host – Japanese" lang="ja" hreflang="ja" data-title="Windows Script Host" data-language-autonym="日本語" data-language-local-name="Japanese" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Windows_Scripting_Host" title="Windows Scripting Host – Polish" lang="pl" hreflang="pl" data-title="Windows Scripting Host" data-language-autonym="Polski" data-language-local-name="Polish" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Windows_Scripting_Host" title="Windows Scripting Host – Portuguese" lang="pt" hreflang="pt" data-title="Windows Scripting Host" data-language-autonym="Português" data-language-local-name="Portuguese" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%A1%D0%B5%D1%80%D0%B2%D0%B5%D1%80_%D1%81%D1%86%D0%B5%D0%BD%D0%B0%D1%80%D0%B8%D0%B5%D0%B2_Windows" title="Сервер сценариев Windows – Russian" lang="ru" hreflang="ru" data-title="Сервер сценариев Windows" data-language-autonym="Русский" data-language-local-name="Russian" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/Windows_Script_Host" title="Windows Script Host – Vietnamese" lang="vi" hreflang="vi" data-title="Windows Script Host" data-language-autonym="Tiếng Việt" data-language-local-name="Vietnamese" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Windows_Script_Host" title="Windows Script Host – Chinese" lang="zh" hreflang="zh" data-title="Windows Script Host" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q1152468#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Windows_Script_Host" title="View the content page [c]" accesskey="c"><span>Article</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:Windows_Script_Host" rel="discussion" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Windows_Script_Host"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Windows_Script_Host&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Windows_Script_Host&action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Windows_Script_Host"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Windows_Script_Host&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Windows_Script_Host&action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Windows_Script_Host" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Windows_Script_Host" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_Upload_Wizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Windows_Script_Host&oldid=1239131866" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Windows_Script_Host&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&page=Windows_Script_Host&id=1239131866&wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWindows_Script_Host"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWindows_Script_Host"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Windows_Script_Host&action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Windows_Script_Host&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-wikibooks mw-list-item"><a href="https://en.wikibooks.org/wiki/Windows_Programming/Windows_Script_Host" hreflang="en"><span>Wikibooks</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q1152468" title="Structured data on this page hosted by Wikidata [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">Automation technology for Windows</div> <style data-mw-deduplicate="TemplateStyles:r1257001546">.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-3cols-child{margin:auto}.mw-parser-output .infobox .navbar{font-size:100%}@media screen{html.skin-theme-clientpref-night .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox-full-data:not(.notheme) div:not(.notheme){background:#1f1f23!important;color:#f8f9fa}}@media(min-width:640px){body.skin--responsive .mw-parser-output .infobox-table{display:table!important}body.skin--responsive .mw-parser-output .infobox-table>caption{display:table-caption!important}body.skin--responsive .mw-parser-output .infobox-table>tbody{display:table-row-group}body.skin--responsive .mw-parser-output .infobox-table tr{display:table-row!important}body.skin--responsive .mw-parser-output .infobox-table th,body.skin--responsive .mw-parser-output .infobox-table td{padding-left:inherit;padding-right:inherit}}</style><table class="infobox vevent"><caption class="infobox-title summary">Windows Script Host (WSH)</caption><tbody><tr><td colspan="2" class="infobox-image logo"><span class="mw-default-size" typeof="mw:File/Frameless"><a href="/wiki/File:Windows_Script_Host_Icon.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/en/0/0a/Windows_Script_Host_Icon.png" decoding="async" width="32" height="32" class="mw-file-element" data-file-width="32" data-file-height="32" /></a></span></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">Other names</th><td class="infobox-data">Windows Scripting Host</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/Programmer" title="Programmer">Developer(s)</a></th><td class="infobox-data"><a href="/wiki/Microsoft" title="Microsoft">Microsoft</a></td></tr><tr style="display: none;"><td colspan="2" class="infobox-full-data"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1257001546"></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/Software_release_life_cycle" title="Software release life cycle">Stable release</a></th><td class="infobox-data"><div style="margin:0px;">5.812 </div></td></tr><tr style="display:none"><td colspan="2"> </td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/Operating_system" title="Operating system">Operating system</a></th><td class="infobox-data"><a href="/wiki/Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/Software_categories#Categorization_approaches" title="Software categories">Type</a></th><td class="infobox-data">Automation technology</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/Software_license" title="Software license">License</a></th><td class="infobox-data"><a href="/wiki/Proprietary_software" title="Proprietary software">Proprietary</a> <a href="/wiki/Commercial_software" title="Commercial software">commercial software</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">Website</th><td class="infobox-data"><span class="url"><a rel="nofollow" class="external text" href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc738350(v=ws.10)">Windows Script Host overview</a></span></td></tr></tbody></table> <p>The <a href="/wiki/Microsoft" title="Microsoft">Microsoft</a> <b>Windows Script Host</b> (<b>WSH</b>) (formerly named <b>Windows Scripting Host</b>) is an automation technology for <a href="/wiki/Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a> <a href="/wiki/Operating_system" title="Operating system">operating systems</a> that provides scripting abilities comparable to <a href="/wiki/Batch_file" title="Batch file">batch files</a>, but with a wider range of supported features. This tool was first provided on Windows 95 after Build 950a on the installation discs as an optional installation configurable and installable by means of the <a href="/wiki/Control_Panel_(Windows)" title="Control Panel (Windows)">Control Panel</a>, and then a standard component of Windows 98 (Build 1111) and subsequent and Windows NT 4.0 Build 1381 and by means of Service Pack 4. The WSH is also a means of automation for <a href="/wiki/Internet_Explorer" title="Internet Explorer">Internet Explorer</a> via the installed WSH engines from IE Version 3.0 onwards; at this time VBScript became means of automation for <a href="/wiki/Microsoft_Outlook" title="Microsoft Outlook">Microsoft Outlook</a> 97.<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> The WSH is also an optional install provided with a VBScript and JScript engine for <a href="/wiki/Windows_CE" class="mw-redirect" title="Windows CE">Windows CE</a> 3.0 and following and some third-party engines including <a href="/wiki/Rexx" title="Rexx">Rexx</a> and other forms of Basic are also available.<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> </p><p>It is language-independent in that it can make use of different <a href="/wiki/Active_Scripting" title="Active Scripting">Active Scripting</a> language engines. By default, it interprets and runs plain-text <a href="/wiki/JScript" title="JScript">JScript</a> (.JS and .JSE files) and <a href="/wiki/VBScript" title="VBScript">VBScript</a> (.VBS and .VBE files). </p><p>Users can install different <a href="/wiki/Scripting_engine" class="mw-redirect" title="Scripting engine">scripting engines</a> to enable them to script in other languages, for instance <a href="/wiki/PerlScript" class="mw-redirect" title="PerlScript">PerlScript</a>. The language-independent <a href="/wiki/Filename_extension" title="Filename extension">filename extension</a> WSF can also be used. The advantage of the <a href="/wiki/Windows_Script_File" title="Windows Script File">Windows Script File</a> (.WSF) is that it allows multiple scripts ("jobs") as well as a combination of scripting languages within a single file. </p><p>WSH engines include various implementations for the <a href="/wiki/Rexx" title="Rexx">Rexx</a>, <a href="/wiki/Object_REXX" title="Object REXX">ooRexx</a>, <a href="/wiki/BASIC" title="BASIC">BASIC</a>, <a href="/wiki/Perl" title="Perl">Perl</a>, <a href="/wiki/Ruby_(programming_language)" title="Ruby (programming language)">Ruby</a>, <a href="/wiki/Tcl" title="Tcl">Tcl</a>, <a href="/wiki/PHP" title="PHP">PHP</a>, <a href="/wiki/JavaScript" title="JavaScript">JavaScript</a>, <a href="/wiki/Object_Pascal" title="Object Pascal">Delphi</a>, <a href="/wiki/Python_(programming_language)" title="Python (programming language)">Python</a>, <a href="/wiki/XSLT" title="XSLT">XSLT</a>, and other languages. </p><p>Windows Script Host is distributed and installed by default on <a href="/wiki/Windows_98" title="Windows 98">Windows 98</a> and later versions of Windows. It is also installed if <a href="/wiki/Internet_Explorer_5" title="Internet Explorer 5">Internet Explorer 5</a> (or a later version) is installed. Beginning with <a href="/wiki/Windows_2000" title="Windows 2000">Windows 2000</a>, the Windows Script Host became available for use with user login scripts. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Usage">Usage</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Windows_Script_Host&action=edit&section=1" title="Edit section: Usage"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Windows Script Host may be used for a variety of purposes, including logon scripts, administration and general automation. Microsoft describes it as an <i>administration tool</i>.<sup id="cite_ref-whatis_5-0" class="reference"><a href="#cite_note-whatis-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> WSH provides an environment for scripts to run – it invokes the appropriate script engine and provides a set of services and objects for the script to work with.<sup id="cite_ref-whatis_5-1" class="reference"><a href="#cite_note-whatis-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> These scripts may be run in <a href="/wiki/GUI" class="mw-redirect" title="GUI">GUI</a> mode (<i>WScript</i>.exe) or command line mode (<i>CScript</i>.exe), or from a COM object (<i>wshom</i>.ocx), offering flexibility to the user for interactive or non-interactive scripts.<sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup> <a href="/wiki/Windows_Management_Instrumentation" title="Windows Management Instrumentation">Windows Management Instrumentation</a> is also scriptable by this means. </p><p>The WSH, the engines, and related functionality are also listed as objects which can be accessed and scripted and queried by means of the <a href="/wiki/Visual_Basic_for_Applications" title="Visual Basic for Applications">VBA</a> and Visual Studio object explorers and those for similar tools like the various script debuggers, e.g. <a href="/wiki/Microsoft_Script_Debugger" title="Microsoft Script Debugger">Microsoft Script Debugger</a>, and editors. </p><p>WSH implements an <a href="/wiki/Object_model" title="Object model">object model</a> which exposes a set of <a href="/wiki/Component_Object_Model" title="Component Object Model">Component Object Model</a> (COM) interfaces.<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup> So in addition to ASP, IIS, Internet Explorer, CScript and WScript, the WSH can be used to automate and communicate with any Windows application with COM and other exposed objects, such as using PerlScript to query <a href="/wiki/Microsoft_Access" title="Microsoft Access">Microsoft Access</a> by various means including various <a href="/wiki/ODBC" class="mw-redirect" title="ODBC">ODBC</a> engines and <a href="/wiki/SQL" title="SQL">SQL</a>, ooRexxScript to create what are in effect Rexx macros in <a href="/wiki/Microsoft_Excel" title="Microsoft Excel">Microsoft Excel</a>, Quattro Pro, <a href="/wiki/Microsoft_Word" title="Microsoft Word">Microsoft Word</a>, <a href="/wiki/Lotus_Notes" class="mw-redirect" title="Lotus Notes">Lotus Notes</a> and any of the like, the <a href="/wiki/XLNT" title="XLNT">XLNT</a> script to get environment variables and print them in a new <a href="/wiki/TextPad" title="TextPad">TextPad</a> document, and so on. </p><p>The <a href="/wiki/Visual_Basic_for_Applications" title="Visual Basic for Applications">VBA</a> functionality of Microsoft Office, <a href="/wiki/Apache_OpenOffice" title="Apache OpenOffice">Open Office</a> (as well as <a href="/wiki/Python_(programming_language)" title="Python (programming language)">Python</a> and other installable macro languages) and <a href="/wiki/Corel_WordPerfect_Office" class="mw-redirect" title="Corel WordPerfect Office">Corel WordPerfect Office</a> is separate from WSH engines although <a href="/wiki/Microsoft_Outlook" title="Microsoft Outlook">Outlook 97</a> uses <a href="/wiki/VBScript" title="VBScript">VBScript</a> rather than VBA as its macro language.<sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup> </p><p><a href="/wiki/Python_(programming_language)" title="Python (programming language)">Python</a> in the form of <a href="/wiki/ActiveState" title="ActiveState">ActiveState</a> <a href="/wiki/PythonScript" class="mw-redirect" title="PythonScript">PythonScript</a> can be used to automate and query the data in <a href="/wiki/SecureCRT" title="SecureCRT">SecureCRT</a>, as with other languages with installed engines, e.g. <a href="/wiki/PerlScript" class="mw-redirect" title="PerlScript">PerlScript</a>, <a href="/w/index.php?title=OoRexxScript&action=edit&redlink=1" class="new" title="OoRexxScript (page does not exist)">ooRexxScript</a>, <a href="/w/index.php?title=PHPScript&action=edit&redlink=1" class="new" title="PHPScript (page does not exist)">PHPScript</a>, <a href="/w/index.php?title=RubyScript&action=edit&redlink=1" class="new" title="RubyScript (page does not exist)">RubyScript</a>, <a href="/w/index.php?title=LuaScript&action=edit&redlink=1" class="new" title="LuaScript (page does not exist)">LuaScript</a>, <a href="/wiki/XLNT" title="XLNT">XLNT</a> and so on. One notable exception is <a href="/wiki/Paint_Shop_Pro" class="mw-redirect" title="Paint Shop Pro">Paint Shop Pro</a>, which can be automated in Python by means of a macro interpreter within the PSP programme itself rather than using the PythonScript WSH engine or an external Python implementation such as Python interpreters supplied with <a href="/wiki/Unix" title="Unix">Unix</a> emulation and integration software suites or other standalone Python implementations et al.<sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup> as an intermediate and indeed can be programmed like this even in the absence of any third-party Python installation; the same goes for the Rexx-programmable terminal emulator Passport.<sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup> The <a href="/wiki/SecureCRT" title="SecureCRT">SecureCRT</a> terminal emulator, <a href="/w/index.php?title=SecureFX&action=edit&redlink=1" class="new" title="SecureFX (page does not exist)">SecureFX</a> FTP client, and related client and server programmes from Van Dyke are as of the current versions automated by means of the WSH so any language with an installed engine may be used; the software comes with VBScript, JScript, and PerlScript examples. </p><p>As of the most recent releases and going back a number of versions now, the programmability of <a href="/wiki/Take_Command_Console" title="Take Command Console">4NT / Take Command</a> in the latest implementations (by means of "@REXX" and similar for Perl, Python, Tcl, Ruby, Lua, VBScript, JScript and the like and so on) generally uses the WSH engine.<sup id="cite_ref-12" class="reference"><a href="#cite_note-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup> The <a href="/wiki/ZOC_(software)" title="ZOC (software)">ZOC</a> terminal emulator gets its ability to be programmed in Rexx by means of an external interpreter, one of which is supplied with the programme, and alternate Rexx interpreters can be specified in the configuration of the programme.<sup id="cite_ref-13" class="reference"><a href="#cite_note-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-14" class="reference"><a href="#cite_note-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup> The MKS Toolkit provides PScript, a WSH engine in addition to the standard Perl interpreter perl.exe which comes with the package. </p><p>VBScript, JScript, and some third-party engines have the ability to create and execute scripts in an encoded format which prevents editing with a text editor; the file extensions for these encoded scripts is .vbe and .jse and others of that type. </p><p>Unless otherwise specified, any WSH scripting engine can be used with the various Windows server software packages to provide CGI scripting. The current versions of the default WSH engines and all or most of the third-party engines have socket abilities as well; as a CGI script or otherwise, PerlScript is the choice of many programmers for this purpose and the VBScript and various Rexx-based engines are also rated as sufficiently powerful in connectivity and text-processing abilities to also be useful. This also goes for file access and processing—the earliest WSH engines for VBScript and JScript do not since the base language did not,<sup id="cite_ref-15" class="reference"><a href="#cite_note-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup> whilst PerlScript, ooRexxScript, and the others have this from the beginning. </p><p>WinWrap Basic, <a href="/w/index.php?title=SaxBasic&action=edit&redlink=1" class="new" title="SaxBasic (page does not exist)">SaxBasic</a> and others are similar to Visual Basic for Applications, These tools are used to add scripting and macro abilities to software being developed and can be found in earlier versions of <a href="/wiki/Host_Explorer" class="mw-redirect" title="Host Explorer">Host Explorer</a> for example. Many other languages can also be used in this fashion. Other languages used for scripting of programmes include Rexx, Tcl, Perl, Python, Ruby, and others which come with methods to control objects in the operating system and the spreadsheet and database programmes.<sup id="cite_ref-16" class="reference"><a href="#cite_note-16"><span class="cite-bracket">[</span>16<span class="cite-bracket">]</span></a></sup> One exception is that the <a href="/wiki/ZOC_(software)" title="ZOC (software)">Zoc</a> terminal emulator is controlled by a <a href="/wiki/Rexx" title="Rexx">Rexx</a> interpreter supplied with the package or another interpreter specified by the user; this is also the case with the Passport emulator. </p><p>VBScript is the macro language in <a href="/wiki/Microsoft_Outlook" title="Microsoft Outlook">Microsoft Outlook</a> 97, whilst <a href="/wiki/WordBasic" class="mw-redirect" title="WordBasic">WordBasic</a> is used for Word up to 6, PowerPoint and other tools. Excel to 5.0 uses Visual Basic 5.0. In Office 2000 forward, true Visual Basic for Applications 6.0 is used for all components. Other components use <a href="/wiki/Visual_Basic_for_Applications" title="Visual Basic for Applications">Visual Basic for Applications</a>. <a href="/wiki/Apache_OpenOffice" title="Apache OpenOffice">OpenOffice</a> uses Visual Basic, Python, and several others as macro languages and others can be added. <a href="/wiki/LotusScript" title="LotusScript">LotusScript</a> is very closely related to VBA and used for <a href="/wiki/Lotus_Notes" class="mw-redirect" title="Lotus Notes">Lotus Notes</a> and <a href="/wiki/Lotus_SmartSuite" class="mw-redirect" title="Lotus SmartSuite">Lotus SmartSuite</a>, which includes <a href="/wiki/Lotus_Word_Pro" class="mw-redirect" title="Lotus Word Pro">Lotus Word Pro</a> (the current descendant of <a href="/wiki/Ami_Pro" class="mw-redirect" title="Ami Pro">Ami Pro</a>), <a href="/wiki/Lotus_Approach" class="mw-redirect" title="Lotus Approach">Lotus Approach</a>, <a href="/w/index.php?title=Lotus_FastSite&action=edit&redlink=1" class="new" title="Lotus FastSite (page does not exist)">Lotus FastSite</a>, <a href="/wiki/Lotus_1-2-3" title="Lotus 1-2-3">Lotus 1-2-3</a>, &c, and pure VBA, licensed from Microsoft, is used in Corel products such as <a href="/wiki/WordPerfect" title="WordPerfect">WordPerfect</a>, <a href="/wiki/Paradox_(database)" title="Paradox (database)">Paradox</a>, <a href="/wiki/Quattro_Pro" title="Quattro Pro">Quattro Pro</a> &c. </p><p>Any scripting language installed under Windows can be accessed by external means of PerlScript, PythonScript, VBScript and the other engines available can be used to access databases (Lotus Notes, Microsoft Access, <a href="/wiki/Oracle_Database" title="Oracle Database">Oracle Database</a>, Paradox) and spreadsheets (Microsoft Excel, Lotus 1-2-3, Quattro Pro) and other tools like word processors, terminal emulators, command shells and so on. This can be accomplished by means of the WSH, so any language can be used if there is an installed engine. </p><p>In recent versions of the <a href="/wiki/Take_Command_Console" title="Take Command Console">Take Command</a> enhanced command prompt and tools, the "script" command typed at the shell prompt will produce a list of the currently installed engines, one to a line and therefore CR-LF delimited.<sup id="cite_ref-17" class="reference"><a href="#cite_note-17"><span class="cite-bracket">[</span>17<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span class="cite-bracket">[</span>18<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-19" class="reference"><a href="#cite_note-19"><span class="cite-bracket">[</span>19<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Examples">Examples</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Windows_Script_Host&action=edit&section=2" title="Edit section: Examples"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The first example is very simple; it shows some <a href="/wiki/VBScript" title="VBScript">VBScript</a> which uses the root WSH COM object "WScript" to display a message with an 'OK' button. Upon launching this script the CScript or WScript engine would be called and the runtime environment provided. </p><p>Content of a file <code>hello0.vbs</code> </p> <div class="mw-highlight mw-highlight-lang-vbscript mw-content-ltr" dir="ltr"><pre><span></span><span class="n">WScript</span><span class="p">.</span><span class="n">Echo</span><span class="w"> </span><span class="s2">"Hello world"</span> <span class="n">WScript</span><span class="p">.</span><span class="n">Quit</span> </pre></div> <p>WSH programming can also use the <a href="/wiki/JScript" title="JScript">JScript</a> language. </p><p>Content of a file <code>hello1.js</code> </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">WSH</span><span class="p">.</span><span class="nx">Echo</span><span class="p">(</span><span class="s2">"Hello world"</span><span class="p">);</span> <span class="nx">WSH</span><span class="p">.</span><span class="nx">Quit</span><span class="p">();</span> </pre></div> <p>Or, code can be mixed in one <a href="/wiki/Windows_Script_File" title="Windows Script File">WSF</a> file, such as <a href="/wiki/VBScript" title="VBScript">VBScript</a> and <a href="/wiki/JScript" title="JScript">JScript</a>, or any other: </p><p>Content of a file <code>hello2.wsf</code> </p> <div class="mw-highlight mw-highlight-lang-xml mw-content-ltr" dir="ltr"><pre><span></span><span class="nt"><job></span> <span class="nt"><script</span><span class="w"> </span><span class="na">language=</span><span class="s">"VBScript"</span><span class="nt">></span> <span class="w"> </span>MsgBox<span class="w"> </span>"hello<span class="w"> </span>world<span class="w"> </span>(from<span class="w"> </span>vb)" <span class="nt"></script></span> <span class="nt"><script</span><span class="w"> </span><span class="na">language=</span><span class="s">"JScript"</span><span class="nt">></span> <span class="w"> </span>WSH.echo("hello<span class="w"> </span>world<span class="w"> </span>(from<span class="w"> </span>js)"); <span class="nt"></script></span> <span class="nt"></job></span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Security_concerns">Security concerns</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Windows_Script_Host&action=edit&section=3" title="Edit section: Security concerns"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Windows applications and processes may be automated using a script in Windows Script Host. Viruses and malware could be written to exploit this ability. Thus, some suggest disabling it for security reasons.<sup id="cite_ref-20" class="reference"><a href="#cite_note-20"><span class="cite-bracket">[</span>20<span class="cite-bracket">]</span></a></sup> Alternatively, antivirus programs may offer features to control .vbs and other scripts which run in the WSH environment. </p><p>Since version 5.6 of WSH, scripts can be <a href="/wiki/Digital_signature" title="Digital signature">digitally signed</a> programmatically using the <i>Scripting.Signer</i> object in a script itself, provided a valid <a href="/wiki/Public_key_certificate" title="Public key certificate">certificate</a> is present on the system. Alternatively, the signcode tool from the Platform SDK, which has been extended to support WSH filetypes, may be used at the command line.<sup id="cite_ref-21" class="reference"><a href="#cite_note-21"><span class="cite-bracket">[</span>21<span class="cite-bracket">]</span></a></sup> </p><p>By using <i>Software Restriction Policies</i> introduced with Windows XP, a system may be configured to execute only those scripts which are stored in trusted locations, have a known MD5 hash, or have been digitally signed by a trusted publisher, thus preventing the execution of untrusted scripts.<sup id="cite_ref-22" class="reference"><a href="#cite_note-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Available_scripting_engines">Available scripting engines</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Windows_Script_Host&action=edit&section=4" title="Edit section: Available scripting engines"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><b>Note</b>: By definition, all of these scripting engines can be utilised in <a href="/wiki/Common_Gateway_Interface" title="Common Gateway Interface">CGI</a> programming under Windows with any number of programmes and set up, meaning that the source code files for a script used on a server for CGI purposes could bear other file extensions such as .cgi and so on. The aforementioned ability of the Windows Script Host to run a script with multiple languages in it in files with a .wsh extension. <a href="/w/index.php?title=Extended_HTML&action=edit&redlink=1" class="new" title="Extended HTML (page does not exist)">Extended Html</a> and <a href="/wiki/XML" title="XML">XML</a> also add to the additional possibilities when working with scripts for network use, as do <a href="/wiki/Active_Server_Pages" title="Active Server Pages">Active Server Pages</a> and so forth. Moreover, Windows <a href="/wiki/Shell_script" title="Shell script">shell scripts</a> and scripts written in shells with enhanced capabilities like <a href="/wiki/Take_Command_Console" title="Take Command Console">TCC</a>, <a href="/wiki/4NT_(shell)" class="mw-redirect" title="4NT (shell)">4NT</a>, etc. and Unix shells under interoperability software like the <a href="/wiki/MKS_Toolkit" title="MKS Toolkit">MKS Toolkit</a> can have scripts embedded in them as well. </p> <table class="wikitable sortable"> <tbody><tr> <th>Engine name </th> <th>Scripting language implemented </th> <th>Base language </th> <th>File extensions </th> <th>Availability </th> <th>Produced by </th> <th>Status </th> <th>Initial release date </th> <th>Encoded scripts </th> <th>Notes </th></tr> <tr> <td>VBScript </td> <td>Microsoft <a href="/wiki/VBScript" title="VBScript">VBScript</a> </td> <td>Microsoft <a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a> </td> <td>.vbs </td> <td>Installed by default </td> <td><a href="/wiki/Microsoft" title="Microsoft">Microsoft</a> </td> <td>default install </td> <td>1999 </td> <td>Yes, .vbe </td> <td>Default windows host script </td></tr> <tr> <td>JScript </td> <td>Microsoft <a href="/wiki/JScript" title="JScript">JScript</a> </td> <td><a href="/wiki/ECMAScript" title="ECMAScript">ECMAScript</a> </td> <td>.js </td> <td>Installed by default </td> <td><a href="/wiki/Microsoft" title="Microsoft">Microsoft</a> </td> <td>default install </td> <td>1999 </td> <td>Yes, .jse </td> <td>Default java script host </td></tr> <tr> <td>WinWrap Basic </td> <td>WinWrap Basic </td> <td>Basic </td> <td>.wwb </td> <td>In the main WWB installation </td> <td>Polar Engineering </td> <td>Standard functionality of WWB; Utilises both .NET and COM </td> <td>2004 </td> <td>Yes </td> <td> </td></tr> <tr> <td><a href="/wiki/PerlScript" class="mw-redirect" title="PerlScript">PerlScript</a> </td> <td><a href="/wiki/Perl" title="Perl">Perl</a> </td> <td>Perl 5 </td> <td>.pls </td> <td>with ActiveState Perl </td> <td><a href="/wiki/ActiveState" title="ActiveState">ActiveState</a> </td> <td><span class="nowrap"><a href="/wiki/Open-source_software" title="Open-source software">Open source</a></span> </td> <td>1999 </td> <td>Reportedly yes </td> <td> </td></tr> <tr> <td>PScript </td> <td><a href="/wiki/Perl" title="Perl">Perl</a> </td> <td>Perl 5, CGI functionality </td> <td>.p, .ps </td> <td>with MKS Toolkit </td> <td><a href="/wiki/MKS_Inc." title="MKS Inc.">MKS</a> </td> <td>Commercial </td> <td>2001 </td> <td> </td> <td> </td></tr> <tr> <td>XBScript </td> <td>xBase Scripting Engine </td> <td>xBase (<a href="/wiki/Clipper_(programming_language)" title="Clipper (programming language)">Clipper</a>) </td> <td>.xbs, .prg </td> <td>Clipper </td> <td>with XBScript sofrware </td> <td>Commercial </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td><a href="/wiki/LotusScript" title="LotusScript">LotusScript</a> WSH </td> <td><a href="/wiki/LotusScript" title="LotusScript">LotusScript</a> </td> <td>Microsoft Visual Basic (q.v.) </td> <td>.nsf </td> <td>Third party download </td> <td>Service Desk Plus </td> <td>Freeware </td> <td>2001 </td> <td> </td> <td> </td></tr> <tr> <td>RexxScript </td> <td><a href="/wiki/Rexx" title="Rexx">Rexx</a> </td> <td>Rexx </td> <td>.rxs, .rx, .rex </td> <td>With some Rexx implementations </td> <td>Various </td> <td>Freeware </td> <td>1998 </td> <td> </td> <td> </td></tr> <tr> <td>ooRexxScript </td> <td><a href="/w/index.php?title=Open_Object_REXX&action=edit&redlink=1" class="new" title="Open Object REXX (page does not exist)">Open Object REXX</a> </td> <td><a href="/wiki/Rexx" title="Rexx">REXX</a> </td> <td>.rxs </td> <td>with Open Object Rexx or free from some third parties </td> <td>Open Object Rexx team </td> <td>Open source </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td><a href="/wiki/PythonScript" class="mw-redirect" title="PythonScript">PythonScript</a> </td> <td>Python </td> <td><a href="/wiki/Python_(programming_language)" title="Python (programming language)">Python</a> </td> <td>.pys </td> <td>SourceForge & with ActivePython </td> <td>The Pywin32 project </td> <td>Open source </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td>TclScript </td> <td><a href="/wiki/Tcl" title="Tcl">Tcl</a>/Tk </td> <td>Tcl/Tk </td> <td>.tcls </td> <td>SourceForge </td> <td>ActiveState or third party </td> <td>Open source </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td>ActivePHPScript </td> <td><a href="/wiki/PHP" title="PHP">PHP</a> </td> <td>PHP </td> <td>.phps </td> <td>with PHP </td> <td>PHP team </td> <td>Open source </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td>PHPScript </td> <td><a href="/wiki/PHP" title="PHP">PHP</a> </td> <td>PHP </td> <td>.phps </td> <td>with PHP </td> <td>PHP team </td> <td>Open source </td> <td> </td> <td> </td> <td>Earlier version of ActivePHPScript </td></tr> <tr> <td>RubyScript </td> <td><a href="/wiki/Ruby_(programming_language)" title="Ruby (programming language)">Ruby</a> </td> <td>Ruby </td> <td>.rbs </td> <td>with Ruby distribution </td> <td>Ruby team </td> <td>Open source </td> <td> </td> <td>Yes </td> <td> </td></tr> <tr> <td>XLNTScript </td> <td><a href="/wiki/XLNT" title="XLNT">XLNT</a> </td> <td><a href="/wiki/DIGITAL_Command_Language" title="DIGITAL Command Language">DCL</a> </td> <td>.xcs </td> <td>with XLNT </td> <td><a href="/wiki/Advanced_Systems_Concepts,_Inc." class="mw-redirect" title="Advanced Systems Concepts, Inc.">Advanced Systems Concepts, Inc.</a> </td> <td>Commercial </td> <td>1997 </td> <td> </td> <td>An <a href="/wiki/OpenVMS" title="OpenVMS">OpenVMS</a> <a href="/wiki/DIGITAL_Command_Language" title="DIGITAL Command Language">DCL</a>-based multi-purpose scripting application for Windows </td></tr> <tr> <td>LuaScript </td> <td><a href="/wiki/Lua_(programming_language)" title="Lua (programming language)">Lua</a> </td> <td>Lua </td> <td>.lua </td> <td>with Lua </td> <td>Lua organisation </td> <td>Open Source </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td><a href="/wiki/Object_REXX" title="Object REXX">Object REXX</a> engine </td> <td><a href="/wiki/Object_REXX" title="Object REXX">Object REXX</a> </td> <td>Rexx </td> <td>.rex, .rxs </td> <td>with IBM Object REXX </td> <td><a href="/wiki/IBM" title="IBM">IBM</a> </td> <td><a href="/wiki/Commercial_software" title="Commercial software">Commercial</a> </td> <td>2002 </td> <td> </td> <td> </td></tr> <tr> <td>XML Engine </td> <td><a href="/wiki/XML" title="XML">XML</a> parsing </td> <td>Extended HTML, XML </td> <td>.xml </td> <td>with many XML implementations </td> <td>Elf Data </td> <td>de facto Default install </td> <td>2000 </td> <td> </td> <td>Macintosh too </td></tr> <tr> <td>Kixtart WSH Engine </td> <td><a href="/wiki/Kixtart" class="mw-redirect" title="Kixtart">Kixtart</a> </td> <td>KixTart, MS-DOS, Windows 95. Windows NT shells </td> <td>.kix </td> <td>with KixStart </td> <td><a href="/wiki/Microsoft" title="Microsoft">Microsoft</a> Netherlands </td> <td>Windows Resource Kits and other resources </td> <td>1996 </td> <td> </td> <td>Download from Microsoft or elsewhere, aka KixStart32 </td></tr> <tr> <td>NullScript </td> <td><a href="/w/index.php?title=NullScript&action=edit&redlink=1" class="new" title="NullScript (page does not exist)">NullScript</a> </td> <td>Null language </td> <td>.ns </td> <td>with NullScript </td> <td>NullScript Organisation </td> <td>Windows Resource Kits and other resources </td> <td>1999 </td> <td> </td> <td> </td></tr> <tr> <td>ForthScript </td> <td><a href="/wiki/Forth_(programming_language)" title="Forth (programming language)">Forth</a> </td> <td>Forth </td> <td>.fth, others </td> <td>Forth </td> <td>DMOZ </td> <td>Open Source </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td><a href="/wiki/Haskell_(programming_language)" class="mw-redirect" title="Haskell (programming language)">Haskell</a> Script </td> <td><a href="/wiki/Haskell_(programming_language)" class="mw-redirect" title="Haskell (programming language)">Haskell</a> </td> <td>Haskell </td> <td>*.hsk (provisional), others </td> <td>free download </td> <td> </td> <td>Open Source </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td>XSLT WSH Engine </td> <td><a href="/wiki/XSLT" title="XSLT">XSLT</a> </td> <td>XSLT </td> <td>.xslt </td> <td>free download </td> <td>Open Source </td> <td> </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td>CobolScript WSH Engine </td> <td><a href="/wiki/Cobol" class="mw-redirect" title="Cobol">Cobol</a> </td> <td>Cobol </td> <td>.cbl. .cob, .cb </td> <td>Fujitsu Cobol 3 -- free for educational use </td> <td>Commercialware from Fujitsu free with free compiler for educators &c </td> <td>Proprietary </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td>Delphi scripting engine </td> <td><a href="/wiki/Object_Pascal" title="Object Pascal">Delphi</a> </td> <td>Delphi, a Pascal variant </td> <td>.dlp, .del, . </td> <td>In some Delphi distributions or resource kits </td> <td>Commercial </td> <td> </td> <td>2003 </td> <td> </td> <td> </td></tr> <tr> <td>DMDScript </td> <td>DMDScript </td> <td>D, a major incrementation of C </td> <td>.dmd </td> <td>DMD Distributions, download </td> <td>Freeware </td> <td>Available on Web </td> <td>2014 </td> <td>DMD </td> <td> </td></tr> <tr> <td><a href="/wiki/CS-Script" title="CS-Script">C# Script</a> </td> <td><a href="/wiki/C_Sharp_(programming_language)" title="C Sharp (programming language)">C#</a> </td> <td>Microsoft C#.NET </td> <td>.cs. .c#, others </td> <td>Source code available </td> <td>Open Source, active development underway </td> <td>unclear </td> <td>2013 </td> <td> </td> <td> </td></tr> <tr> <td>Small C Scripting Engine </td> <td><a href="/wiki/C_(programming_language)" title="C (programming language)">C</a> </td> <td>C (K&R, Ansi) </td> <td>.c, others </td> <td>Various locations, check Web </td> <td> </td> <td>Freeware </td> <td>2009 </td> <td> </td> <td> </td></tr> <tr> <td>JavaScript WSH Engine </td> <td><a href="/wiki/JavaScript" title="JavaScript">JavaScript</a>/<a href="/wiki/Java_(programming_language)" title="Java (programming language)">Java</a> </td> <td>Java & variants </td> <td>.java, .j, jva, others </td> <td>With many JavaScript implementations </td> <td>Sun/Other Java Organisations </td> <td>Freeware </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td>Take Command WSH Engine </td> <td><a href="/wiki/4NT_(shell)" class="mw-redirect" title="4NT (shell)">4NT</a>/<a href="/wiki/Take_Command_(command_line_interpreter)" class="mw-redirect" title="Take Command (command line interpreter)">Take Command</a> </td> <td>TCC, the current version of <a href="/wiki/4NT_(shell)" class="mw-redirect" title="4NT (shell)">4NT</a> p </td> <td>.btm, .cmd, bat, others </td> <td>Check JP Software </td> <td>JP Software </td> <td>Proprietary </td> <td>2015 </td> <td> </td> <td>Early development </td></tr> <tr> <td>92Script WSH Engine </td> <td><a href="/wiki/TI-89" class="mw-redirect" title="TI-89">TI-89</a>/92+/Voyager 200 <a href="/wiki/TI-Basic" class="mw-redirect" title="TI-Basic">TI-Basic</a> </td> <td>Calculator TI-Basic </td> <td>.92bs </td> <td>Project Web/FTP site </td> <td>Various independent programmers </td> <td>Experimental, Open Source </td> <td>2014 </td> <td>"possible" </td> <td>Beta Q4 2015 for main engine; graphing functionality (92Script/Tk) then or later </td></tr> <tr> <td>48Script WSH Engine </td> <td><a href="/wiki/HP-48" class="mw-redirect" title="HP-48">HP-48</a> Calculator family on-board programming language </td> <td>HP 48 Programming Language, distant relative of Forth, Basic, Lisp </td> <td>.48s </td> <td>Project Web/FTP site </td> <td>Various independent programmers </td> <td>Experimental </td> <td>2015 </td> <td>Planned </td> <td>Status as of 2015-09-30. Language has Lisp, Basic, Forth, and other influences. </td></tr> <tr> <td>Fortran Script </td> <td>Fortran </td> <td>Fortran 77 </td> <td>.for, .ftn. f77, f90, f95 </td> <td>Various </td> <td>Various </td> <td>Experimental proof-of-concept, academic exercise, shareware, commercial, open source. </td> <td>2000 </td> <td> </td> <td> </td></tr> <tr> <td>PascalScript </td> <td>Object Pascal </td> <td>Pascal 7 </td> <td>.pas, .ops, other </td> <td>Object Pascal </td> <td>RemObjects </td> <td>Freeware </td> <td>2001 </td> <td> </td> <td>Can also be used with Delphi directly </td></tr> <tr> <td>Lisp WSH Engine </td> <td><a href="/wiki/Lisp_(programming_language)" title="Lisp (programming language)">Lisp</a> </td> <td>Lisp </td> <td>.lisp, .lsp </td> <td>Various Lisp tools </td> <td>AutoLisp and others </td> <td>Freeware or Shareware </td> <td> </td> <td> </td> <td> </td></tr> <tr> <td>BESEN </td> <td>ECMA-JavaScript </td> <td>Java and Variants </td> <td>.bes, .bsn, others </td> <td>SourceForge </td> <td>BESEN Organisation </td> <td>Open Source </td> <td>2011 </td> <td> </td> <td> </td></tr> <tr> <td>ECMAScript WSH engines </td> <td>Java and Variants </td> <td>Various </td> <td>Various </td> <td>Various </td> <td>Various </td> <td>Experimental, Freeware, Open Source, Shareware, Proprietary, Commercialware </td> <td>2005 </td> <td> </td> <td>There are numerous ECMAScript implementations but not all have WSH engines </td></tr> <tr> <td>CFXScript WSH Engine </td> <td>Casio CFX-9850 and fx Calculator series on-board programming language </td> <td>Casio Calculator Programming Language, as ported to various operating systems as CFW </td> <td>.cfxb </td> <td>Project Web/FTP Sites </td> <td>independent programmers </td> <td>Experimental </td> <td>2015 </td> <td>Planned<sup id="cite_ref-23" class="reference"><a href="#cite_note-23"><span class="cite-bracket">[</span>23<span class="cite-bracket">]</span></a></sup> </td> <td>Status as of 2015-09-30. Language has elements of Basic, Forth, Fortran, and others. </td></tr> <tr> <td>SharpCalcScript WSH Engine </td> <td>Sharp graphing calculators on-board programming language </td> <td>Sharp S-Basic as ported to windows as NeusSFortran </td> <td>.scsb </td> <td>Project Web/FTP Sites </td> <td>independent programmers </td> <td>Experimental </td> <td>2015 </td> <td>Planned </td> <td>Status as of 2015-09-30. Also subsumes the S-Basic language of Sharp's Pocket Computers. </td></tr></tbody></table> <p>There have been suggestions of creating engines for other languages, such as <a href="/wiki/LotusScript" title="LotusScript">LotusScript</a>, <a href="/w/index.php?title=SaxBasic&action=edit&redlink=1" class="new" title="SaxBasic (page does not exist)">SaxBasic</a>, <a href="/w/index.php?title=BasicScript&action=edit&redlink=1" class="new" title="BasicScript (page does not exist)">BasicScript</a>, <a href="/wiki/KiXtart" title="KiXtart">KiXtart</a>, <a href="/wiki/Awk" class="mw-redirect" title="Awk">awk</a>, <a href="/wiki/Bash_(Unix_shell)" title="Bash (Unix shell)">bash</a>, <a href="/wiki/C_shell" title="C shell">csh</a> and other Unix shells, <a href="/wiki/4NT_(shell)" class="mw-redirect" title="4NT (shell)">4NT</a>, <a href="/wiki/Cmd.exe" title="Cmd.exe">cmd.exe</a> (the Windows NT shell), <a href="/wiki/Windows_PowerShell" class="mw-redirect" title="Windows PowerShell">Windows PowerShell</a>, <a href="/wiki/Dialog_Control_Language" title="Dialog Control Language">DCL</a>, <a href="/wiki/C_(programming_language)" title="C (programming language)">C</a>, <a href="/wiki/C%2B%2B" title="C++">C++</a>, <a href="/wiki/Fortran" title="Fortran">Fortran</a> and others.<sup id="cite_ref-24" class="reference"><a href="#cite_note-24"><span class="cite-bracket">[</span>24<span class="cite-bracket">]</span></a></sup> The XLNT language<sup id="cite_ref-25" class="reference"><a href="#cite_note-25"><span class="cite-bracket">[</span>25<span class="cite-bracket">]</span></a></sup> is based on DCL and provides a very large subset of the language along with additional commands and statements and the software can be used in three ways: the WSH engine (*.xcs), the console interpreter (*.xlnt) and as a server and client side CGI engine (*.xgi).<sup id="cite_ref-26" class="reference"><a href="#cite_note-26"><span class="cite-bracket">[</span>26<span class="cite-bracket">]</span></a></sup> </p><p>When a server implementing CGI such as the Windows Internet Information Server, ports of Apache and others, all or most of the engines can be used; the most commonly used are VBScript, JScript, PythonScript, PerlScript, ActivePHPScript, and ooRexxScript. The MKS Toolkit PScript program also runs Perl. Command shells like cmd.exe, 4NT, ksh, and scripting languages with string processing and preferably socket functionality are also able to be used for CGI scripting; compiled languages like C++, Visual Basic, and Java can also be used like this. All Perl interpreters, ooRexx, PHP, and more recent versions of VBScript and JScript can use sockets for TCP/IP and usually UDP and other protocols for this. </p> <div class="mw-heading mw-heading2"><h2 id="Version_history">Version history</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Windows_Script_Host&action=edit&section=5" title="Edit section: Version history"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <table class="wikitable"> <tbody><tr> <th>Windows version </th> <th>Shipped with WSH version </th> <th>Last redistributable version </th></tr> <tr> <td><a href="/wiki/Windows_95" title="Windows 95">Windows 95</a> </td> <td>None (separate redistributable) </td> <td>5.6 </td></tr> <tr> <td><a href="/wiki/Windows_NT_4.0" title="Windows NT 4.0">Windows NT 4.0</a> </td> <td>None (separate redistributable) </td> <td>5.6 </td></tr> <tr> <td><a href="/wiki/Windows_CE" class="mw-redirect" title="Windows CE">Windows CE</a> 3.0 </td> <td>1.0 (optional install on installer disc) </td> <td>2.0 </td></tr> <tr> <td><a href="/wiki/Windows_98" title="Windows 98">Windows 98</a> </td> <td>1.0 </td> <td>5.6 </td></tr> <tr> <td><a href="/wiki/Windows_98_Second_Edition" class="mw-redirect" title="Windows 98 Second Edition">Windows 98 Second Edition</a> </td> <td>1.0 </td> <td>5.6 </td></tr> <tr> <td><a href="/wiki/Windows_2000" title="Windows 2000">Windows 2000</a> </td> <td>2.0 (also termed WSH 5.1) </td> <td>5.7 </td></tr> <tr> <td><a href="/wiki/Windows_2000" title="Windows 2000">Windows 2000</a> SP3, SP4 and SP5 </td> <td>5.6 </td> <td>5.7 </td></tr> <tr> <td><a href="/wiki/Windows_Me" title="Windows Me">Windows Me</a> </td> <td>2.0 (also termed WSH 5.1) </td> <td>5.6 </td></tr> <tr> <td><a href="/wiki/Windows_XP" title="Windows XP">Windows XP</a> </td> <td>5.6 </td> <td>5.7 </td></tr> <tr> <td><a href="/wiki/Windows_XP_SP3" class="mw-redirect" title="Windows XP SP3">Windows XP SP3</a> </td> <td>5.7 </td> <td>Not applicable </td></tr> <tr> <td><a href="/wiki/Windows_Server_2003" title="Windows Server 2003">Windows Server 2003</a> </td> <td>5.6 </td> <td>5.7 </td></tr> <tr> <td><a href="/wiki/Windows_Vista" title="Windows Vista">Windows Vista</a> </td> <td>5.7 </td> <td>Not applicable </td></tr> <tr> <td><a href="/wiki/Windows_Server_2008" title="Windows Server 2008">Windows Server 2008</a> </td> <td>5.7 </td> <td>Not applicable </td></tr> <tr> <td><a href="/wiki/Windows_7" title="Windows 7">Windows 7</a> </td> <td>5.8 </td> <td>Not applicable </td></tr> <tr> <td><a href="/wiki/Windows_Server_2008_R2" title="Windows Server 2008 R2">Windows Server 2008 R2</a> </td> <td>5.8 </td> <td>Not applicable </td></tr> <tr> <td><a href="/wiki/Windows_8" title="Windows 8">Windows 8</a> </td> <td>5.8 </td> <td>Not applicable </td></tr> <tr> <td><a href="/wiki/Windows_Server_2012" title="Windows Server 2012">Windows Server 2012</a> </td> <td>5.8 </td> <td>Not applicable </td></tr> <tr> <td><a href="/wiki/Windows_10" title="Windows 10">Windows 10</a> </td> <td>5.812 </td> <td>Not applicable </td></tr> <tr> <td><a href="/wiki/Windows_Server_2016" title="Windows Server 2016">Windows Server 2016</a> </td> <td>5.812 </td> <td>Not applicable </td></tr></tbody></table> <p>The redistributable version of WSH version 5.6 can be installed on Windows 95/98/Me and Windows NT 4.0/2000. WSH 5.7 is downloadable for Windows 2000, Windows XP and Windows Server 2003. Recently <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Manual_of_Style/Dates_and_numbers#Chronological_items" title="Wikipedia:Manual of Style/Dates and numbers"><span title="The time period mentioned near this tag is ambiguous. (March 2015)">when?</span></a></i>]</sup>, redistributable versions for older operating systems (Windows 9x and Windows NT 4.0) are no longer available from the Microsoft Download Center. </p><p>Since Windows XP Service Pack 3, release 5.7 is the only version available from Microsoft, with newer revisions being included in newer versions of Windows since. </p> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Windows_Script_Host&action=edit&section=6" title="Edit section: See also"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/JScript_.NET" title="JScript .NET">JScript .NET</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="References">References</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Windows_Script_Host&action=edit&section=7" title="Edit section: References"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1239543626">.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}</style><div class="reflist"> <div class="mw-references-wrap mw-references-columns"><ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text">?MSDN, "Windows Scripting Host" and "VBScript"</span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text">MSDN April 2000 edition, "Windows Scripting Host"</span> </li> <li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text">The VBScript Bible (1999)</span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text">Windows 2000 Server Resource Kit (documentation</span> </li> <li id="cite_note-whatis-5"><span class="mw-cite-backlink">^ <a href="#cite_ref-whatis_5-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-whatis_5-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://msdn.microsoft.com/en-us/library/shzd7dy4(VS.85).aspx">"What Is WSH?"</a>. <i>msdn.microsoft.com</i>. 24 October 2011. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20180107031236/https://msdn.microsoft.com/en-us/library/shzd7dy4(VS.85).aspx">Archived</a> from the original on 7 January 2018<span class="reference-accessdate">. Retrieved <span class="nowrap">30 April</span> 2018</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=msdn.microsoft.com&rft.atitle=What+Is+WSH%3F&rft.date=2011-10-24&rft_id=http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fshzd7dy4%28VS.85%29.aspx&rfr_id=info%3Asid%2Fen.wikipedia.org%3AWindows+Script+Host" class="Z3988"></span></span> </li> <li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://msdn.microsoft.com/en-us/library/ec0wcxh3(VS.85).aspx">"Windows Script Host Basics"</a>. <i>msdn.microsoft.com</i>. 24 October 2011. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20170808154157/https://msdn.microsoft.com/en-us/library/ec0wcxh3(VS.85).aspx">Archived</a> from the original on 8 August 2017<span class="reference-accessdate">. Retrieved <span class="nowrap">30 April</span> 2018</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=msdn.microsoft.com&rft.atitle=Windows+Script+Host+Basics&rft.date=2011-10-24&rft_id=http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fec0wcxh3%28VS.85%29.aspx&rfr_id=info%3Asid%2Fen.wikipedia.org%3AWindows+Script+Host" class="Z3988"></span></span> </li> <li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://msdn.microsoft.com/en-us/library/a74hyyw0(VS.85).aspx">"Windows Script Host Object Model"</a>. <i>msdn.microsoft.com</i>. 24 October 2011. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20170808153910/https://msdn.microsoft.com/en-us/library/a74hyyw0(VS.85).aspx">Archived</a> from the original on 8 August 2017<span class="reference-accessdate">. Retrieved <span class="nowrap">30 April</span> 2018</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=msdn.microsoft.com&rft.atitle=Windows+Script+Host+Object+Model&rft.date=2011-10-24&rft_id=http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fa74hyyw0%28VS.85%29.aspx&rfr_id=info%3Asid%2Fen.wikipedia.org%3AWindows+Script+Host" class="Z3988"></span></span> </li> <li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text">MSDN "VBA"</span> </li> <li id="cite_note-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-9">^</a></b></span> <span class="reference-text">User's Manual, Paint Shop Pro 8</span> </li> <li id="cite_note-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-10">^</a></b></span> <span class="reference-text">Paint Shop Pro 8 help, "Automation"</span> </li> <li id="cite_note-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-11">^</a></b></span> <span class="reference-text">main help file, Passport for Windows</span> </li> <li id="cite_note-12"><span class="mw-cite-backlink"><b><a href="#cite_ref-12">^</a></b></span> <span class="reference-text">Take Command documentation 18.00 documentation hard copy and Help file</span> </li> <li id="cite_note-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-13">^</a></b></span> <span class="reference-text">Zoc v 6.0 help</span> </li> <li id="cite_note-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-14">^</a></b></span> <span class="reference-text">Zoc 5.0 printed manual</span> </li> <li id="cite_note-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-15">^</a></b></span> <span class="reference-text">MSDN documentation</span> </li> <li id="cite_note-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-16">^</a></b></span> <span class="reference-text">Windows Office 97 & 2000 Bibles (Wiley)</span> </li> <li id="cite_note-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-17">^</a></b></span> <span class="reference-text">Take Command version 18.00 documentation</span> </li> <li id="cite_note-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-18">^</a></b></span> <span class="reference-text">JP Software Take Command-4NT-4Dos-4OS/2 site, bulletin board</span> </li> <li id="cite_note-19"><span class="mw-cite-backlink"><b><a href="#cite_ref-19">^</a></b></span> <span class="reference-text">Take Command 18.00 help</span> </li> <li id="cite_note-20"><span class="mw-cite-backlink"><b><a href="#cite_ref-20">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.norman.com/Virus/Articles/Articles_previous_years/25780/en">"Norman - Antivirus & Security Software for Home & Business"</a>. <i>AVG.com</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20060221140139/http://www.norman.com/Virus/Articles/Articles_previous_years/25780/en">Archived</a> from the original on 21 February 2006<span class="reference-accessdate">. Retrieved <span class="nowrap">30 April</span> 2018</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=AVG.com&rft.atitle=Norman+-+Antivirus+%26+Security+Software+for+Home+%26+Business&rft_id=http%3A%2F%2Fwww.norman.com%2FVirus%2FArticles%2FArticles_previous_years%2F25780%2Fen&rfr_id=info%3Asid%2Fen.wikipedia.org%3AWindows+Script+Host" class="Z3988"></span></span> </li> <li id="cite_note-21"><span class="mw-cite-backlink"><b><a href="#cite_ref-21">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFLLC)2006" class="citation web cs1">LLC), Tara Meyer (Aquent (30 June 2006). <a rel="nofollow" class="external text" href="http://msdn.microsoft.com/en-us/library/ms974604.aspx">"Providing a Secure eXPerience"</a>. <i>msdn.microsoft.com</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20171110234926/https://msdn.microsoft.com/en-us/library/ms974604.aspx">Archived</a> from the original on 10 November 2017<span class="reference-accessdate">. Retrieved <span class="nowrap">30 April</span> 2018</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=msdn.microsoft.com&rft.atitle=Providing+a+Secure+eXPerience&rft.date=2006-06-30&rft.aulast=LLC%29&rft.aufirst=Tara+Meyer+%28Aquent&rft_id=http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fms974604.aspx&rfr_id=info%3Asid%2Fen.wikipedia.org%3AWindows+Script+Host" class="Z3988"></span></span> </li> <li id="cite_note-22"><span class="mw-cite-backlink"><b><a href="#cite_ref-22">^</a></b></span> <span class="reference-text"><a rel="nofollow" class="external text" href="http://msdn.microsoft.com/msdnmag/issues/02/05/wsh/">Windows Script Host 5.6 Boasts Windows XP Integration, Security, New Object Model</a> <a rel="nofollow" class="external text" href="https://web.archive.org/web/20080218162807/http://msdn.microsoft.com/msdnmag/issues/02/05/wsh/">Archived</a> 2008-02-18 at the <a href="/wiki/Wayback_Machine" title="Wayback Machine">Wayback Machine</a></span> </li> <li id="cite_note-23"><span class="mw-cite-backlink"><b><a href="#cite_ref-23">^</a></b></span> <span class="reference-text">CasioCalc.com, msgs of 15.09.2016</span> </li> <li id="cite_note-24"><span class="mw-cite-backlink"><b><a href="#cite_ref-24">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/68bf836efd04bc01852566ab006b4636?OpenDocument">"Notes/Domino 4 and 5 Forum : RE: Suggestion: Make LotusScript a script engine for Windows Scripting Host"</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20150321004107/http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/68bf836efd04bc01852566ab006b4636?OpenDocument">Archived</a> from the original on 2015-03-21<span class="reference-accessdate">. Retrieved <span class="nowrap">2015-03-12</span></span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Notes%2FDomino+4+and+5+Forum+%3A+RE%3A+Suggestion%3A+Make+LotusScript+a+script+engine+for+Windows+Scripting+Host&rft_id=http%3A%2F%2Fwww-10.lotus.com%2Fldd%2F46dom.nsf%2F55c38d716d632d9b8525689b005ba1c0%2F68bf836efd04bc01852566ab006b4636%3FOpenDocument&rfr_id=info%3Asid%2Fen.wikipedia.org%3AWindows+Script+Host" class="Z3988"></span></span> </li> <li id="cite_note-25"><span class="mw-cite-backlink"><b><a href="#cite_ref-25">^</a></b></span> <span class="reference-text">ASCI html help file</span> </li> <li id="cite_note-26"><span class="mw-cite-backlink"><b><a href="#cite_ref-26">^</a></b></span> <span class="reference-text">ASCI site</span> </li> </ol></div></div> <div class="mw-heading mw-heading2"><h2 id="links">links</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Windows_Script_Host&action=edit&section=8" title="Edit section: links"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a rel="nofollow" class="external text" href="https://docs.microsoft.com/en-us/previous-versions//9bbdkx3k(v=vs.85)">Host</a></li> <li class="mw-empty-elt"></li></ul> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐f69cdc8f6‐rxt7p Cached time: 20241124072632 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.369 seconds Real time usage: 0.456 seconds Preprocessor visited node count: 1801/1000000 Post‐expand include size: 22019/2097152 bytes Template argument size: 2161/2097152 bytes Highest expansion depth: 18/100 Expensive parser function count: 7/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 33361/5000000 bytes Lua time usage: 0.173/10.000 seconds Lua memory usage: 5242706/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 374.062 1 -total 40.97% 153.265 1 Template:Reflist 31.94% 119.463 6 Template:Cite_web 28.17% 105.356 2 Template:Infobox 21.35% 79.848 1 Template:Infobox_software 19.98% 74.755 1 Template:Short_description 12.29% 45.986 2 Template:Pagetype 10.85% 40.579 1 Template:When 9.57% 35.816 1 Template:Fix 9.52% 35.614 1 Template:Infobox_software/simple --> <!-- Saved in parser cache with key enwiki:pcache:288448:|#|:idhash:canonical and timestamp 20241124072632 and revision id 1239131866. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/w/index.php?title=Windows_Script_Host&oldid=1239131866">https://en.wikipedia.org/w/index.php?title=Windows_Script_Host&oldid=1239131866</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Help:Category" title="Help:Category">Categories</a>: <ul><li><a href="/wiki/Category:Internet_Explorer" title="Category:Internet Explorer">Internet Explorer</a></li><li><a href="/wiki/Category:Windows_administration" title="Category:Windows administration">Windows administration</a></li><li><a href="/wiki/Category:Windows_components" title="Category:Windows components">Windows components</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden categories: <ul><li><a href="/wiki/Category:Webarchive_template_wayback_links" title="Category:Webarchive template wayback links">Webarchive template wayback links</a></li><li><a href="/wiki/Category:Articles_with_short_description" title="Category:Articles with short description">Articles with short description</a></li><li><a href="/wiki/Category:Short_description_is_different_from_Wikidata" title="Category:Short description is different from Wikidata">Short description is different from Wikidata</a></li><li><a href="/wiki/Category:All_articles_with_vague_or_ambiguous_time" title="Category:All articles with vague or ambiguous time">All articles with vague or ambiguous time</a></li><li><a href="/wiki/Category:Vague_or_ambiguous_time_from_March_2015" title="Category:Vague or ambiguous time from March 2015">Vague or ambiguous time from March 2015</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 7 August 2024, at 14:29<span class="anonymous-show"> (UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikipedia.org/w/index.php?title=Windows_Script_Host&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-rbglq","wgBackendResponseTime":114,"wgPageParseReport":{"limitreport":{"cputime":"0.369","walltime":"0.456","ppvisitednodes":{"value":1801,"limit":1000000},"postexpandincludesize":{"value":22019,"limit":2097152},"templateargumentsize":{"value":2161,"limit":2097152},"expansiondepth":{"value":18,"limit":100},"expensivefunctioncount":{"value":7,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":33361,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 374.062 1 -total"," 40.97% 153.265 1 Template:Reflist"," 31.94% 119.463 6 Template:Cite_web"," 28.17% 105.356 2 Template:Infobox"," 21.35% 79.848 1 Template:Infobox_software"," 19.98% 74.755 1 Template:Short_description"," 12.29% 45.986 2 Template:Pagetype"," 10.85% 40.579 1 Template:When"," 9.57% 35.816 1 Template:Fix"," 9.52% 35.614 1 Template:Infobox_software/simple"]},"scribunto":{"limitreport-timeusage":{"value":"0.173","limit":"10.000"},"limitreport-memusage":{"value":5242706,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-rxt7p","timestamp":"20241124072632","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Windows Script Host","url":"https:\/\/en.wikipedia.org\/wiki\/Windows_Script_Host","sameAs":"http:\/\/www.wikidata.org\/entity\/Q1152468","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q1152468","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2003-08-05T04:02:59Z","dateModified":"2024-08-07T14:29:14Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/en\/0\/0a\/Windows_Script_Host_Icon.png","headline":"Automation Technology"}</script> </body> </html>