Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Мазмұны
Кіріспе
Windows үшін автоматтандыру технологиясы
Automation technology for Windows
Microsoft Windows Script Host (WSH) (бұрын Windows Scripting Host деп аталатын) – Microsoft Windows операциялық жүйелері үшін автоматтандыру технологиясы, бұл топтық файлдармен салыстырылатын скрипттерді жасау мүмкіндігін ұсынады, бірақ қолдау көрсетілетін мүмкіндіктердің ауқымы әлдеқайда кең. Бұл құрал алғаш рет Windows 95-те, 950a құралынан кейін орнату дискілерінде, Басқару тақтасы арқылы конфигурацияланатын және орнатылатын опциялық компонент ретінде ұсынылды, содан кейін Windows 98 (1111 құралы) және одан кейінгі нұсқаларында, сондай-ақ Windows NT 4.0 (1381 құралы) және Service Pack 4 арқылы стандартты компонент болды. WSH сонымен қатар IE 3.0 нұсқасынан бастап орнатылған WSH қозғалтқыштары арқылы Internet Explorer үшін автоматтандыру құралы болып табылады; осы кезде VBScript Microsoft Outlook 97 үшін автоматтандыру құралына айналды. WSH Windows CE 3.0 және одан кейінгі нұсқаларымен бірге келетін VBScript және JScript қозғалтқыштарымен, сондай-ақ Rexx және Basic-тің басқа түрлері сияқты үшінші тараптың қозғалтқыштарымен бірге орнатылатын қосымша опция болып табылады. Ол әртүрлі Active Scripting тілдік қозғалтқыштарын қолдануға мүмкіндік беретін тілге тәуелсіз. Әдепкі бойынша, ол қарапайым мәтінді JScript (.JS және .js файлдары) және VBScript (.VBS және .vbs файлдары) түсіндіріп, орындайды. Пайдаланушылар PerlScript сияқты басқа тілдерде скрипт жазуға мүмкіндік беретін әртүрлі скрипт жасау қозғалтқыштарын орната алады. Тілге тәуелсіз файл атауының кеңейтімі WSF де қолданылуы мүмкін. Windows скрипт файлының (.WSF) артықшылығы – бір файлда бірнеше скрипттерді («тапсырмаларды») және скрипт тілдерінің комбинациясын пайдалану мүмкіндігі. WSH қозғалтқыштары Rexx, BASIC, Perl, Ruby, Tcl, PHP, JavaScript, Delphi, Python, XSLT және басқа тілдер үшін әртүрлі іске асыруларды қамтиды. Windows Script Host Windows 98 және одан кейінгі нұсқаларымен бірге таратылады және орнатылады. Internet Explorer 5 (немесе одан кейінгі нұсқасы) орнатылған жағдайда да орнатылады. Windows 2000 нұсқасынан бастап Windows Script Host пайдаланушының кіру скрипттерімен пайдалануға қолжетімді болды.
The Microsoft Windows Script Host (WSH) (formerly named Windows Scripting Host) is an automation technology for Microsoft Windows operating systems that provides scripting abilities comparable to batch files, 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 Control Panel, 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 Internet Explorer via the installed WSH engines from IE Version 3.0 onwards; at this time VBScript became means of automation for Microsoft Outlook 97. The WSH is also an optional install provided with a VBScript and JScript engine for Windows CE 3.0 and following and some third party engines including Rexx and other forms of Basic are also available. It is language independent in that it can make use of different Active Scripting language engines. By default, it interprets and runs plain text JScript (. JS and files) and VBScript (. VBS and files). Users can install different scripting engines to enable them to script in other languages, for instance PerlScript. The language independent filename extension WSF can also be used. The advantage of the Windows Script File (. WSF) is that it allows multiple scripts ("jobs") as well as a combination of scripting languages within a single file. WSH engines include various implementations for the Rexx, BASIC, Perl, Ruby, Tcl, PHP, JavaScript, Delphi, Python, XSLT, and other languages. Windows Script Host is distributed and installed by default on Windows 98 and later versions of Windows. It is also installed if Internet Explorer 5 (or a later version) is installed. Beginning with Windows 2000, the Windows Script Host became available for use with user login scripts.
Қолданылуы
Windows Script Host түрлі мақсаттарда қолданылуы мүмкін, соның ішінде жүйеге кіру скрипттері, әкімшілік және жалпы автоматтандыру. Microsoft оны әкімшілік құралы ретінде сипаттайды. WSH скрипттерді орындау үшін ортаны қамтамасыз етеді – ол тиісті скрипт қозғалтқышын шақырады және скрипт жұмыс істеуі үшін қажетті қызметтер мен объектілер жиынтығын ұсынады. Windows басқару құралдары да осы арқылы скрипттеледі. WSH, қозғалтқыштар және байланысты функционалдықтар VBA және Visual Studio объектілерін қарау құралдары арқылы қолжетімді және скрипттелетін, сұранысқа ие болатын объектілер ретінде тізімделеді, сондай-ақ түрлі скрипттерді жөндеушілер, мысалы, Microsoft Script Debugger және редакторлар сияқты ұқсас құралдар үшін де қолжетімді. WSH компоненттік объект моделінің (COM) интерфейстерінің жиынтығын ашатын объект моделін іске асырады. Сондықтан ASP, IIS, Internet Explorer, CScript және WScript-тен басқа, WSH кез келген Windows қолданбасын COM және басқа ашық объектілермен автоматтандыруға және байланысуға қолданылуы мүмкін, мысалы, PerlScript-ті әртүрлі ODBC қозғалтқыштары мен SQL арқылы Microsoft Access-ті сұрауға, ooRexxScript-ті Microsoft Excel, Quattro Pro, Microsoft Word, Lotus Notes және осыған ұқсас Rexx макростарын жасауға, XLNT скриптін ортаның айнымалыларын алуға және оларды жаңа TextPad құжатына басып шығаруға және т.б. Microsoft Office, Open Office (сондай-ақ Python және басқа орнатылатын макро тілдері) және Corel WordPerfect Office-тің VBA функционалдығы WSH қозғалтқыштарынан бөлек, бірақ Outlook 97 макро тілі ретінде VBA емес, VBScript-ті қолданады. Python, ActiveState түріндегі PythonScript, SecureCRT деректерін автоматтандыру және сұрату үшін, орнатылған қозғалтқыштармен басқа тілдерде де қолданылуы мүмкін, мысалы PerlScript, ooRexxScript, PHPScript, RubyScript, LuaScript, XLNT және т.б. Бір ерекшелік – Paint Shop Pro, ол PythonScript WSH қозғалтқышын немесе сыртқы Python орындалысын пайдаланбастан, PSP бағдарламасының өзіндегі макро интерпретаторы арқылы Python-да автоматтандырылуы мүмкін, Unix эмуляциясы және интеграциялық бағдарламалық жасақтамасы немесе басқа дербес Python орындалыстары сияқты аралық ретінде, тіпті үшінші тарап Python орнату болмаған жағдайда да бағдарламалауға болады; Rexx бағдарламаланатын терминал эмуляторы Passport үшін де солай. SecureCRT терминал эмуляторы, SecureFX FTP клиенты және Ван Дайкке қатысты клиенттік және серверлік бағдарламалар WSH арқылы автоматтандырылған, сондықтан орнатылған қозғалтқышы бар кез келген тілді пайдалануға болады; бағдарламалық қамтамасыз ету VBScript, JScript және PerlScript мысалдарымен бірге келеді. Соңғы шығарылымдар мен бірнеше нұсқаға қайтып, 4NT / Take Command бағдарламалануы соңғы нұсқаларында (Perl, Python, Tcl, Ruby, Lua, VBScript, JScript және т.б. үшін "@REXX" және ұқсас) әдетте WSH қозғалтқышын пайдаланады. ZOC терминал эмуляторы Rexx-те бағдарламалау мүмкіндігін сыртқы интерпретатор арқылы алады, оның бірі бағдарламамен бірге беріледі, ал Rexx-тің баламалы интерпретаторларын бағдарламаның конфигурациясында көрсетуге болады. MKS Toolkit стандартты Perl интерпретаторы perl.exe-ге қосымша WSH қозғалтқышы PScript-ті ұсынады. VBScript, JScript және кейбір үшінші тараптық қозғалтқыштар кодталған форматта скрипттерді жасау және орындау мүмкіндігіне ие, бұл мәтін редакторымен өңдеуге жол бермейді; осы кодталған скрипттер үшін файл кеңейтімдері және басқалары осы типті. Егер басқаша белгіленбесе, кез келген WSH скрипт жасау тетігі әртүрлі Windows серверлік бағдарламалық жасақтамаларымен CGI скриптерін қамтамасыз ету үшін пайдаланылуы мүмкін. WSH қозғалтқыштарының қазіргі нұсқаларының көпшілігі сокет мүмкіндіктеріне ие; CGI скрипті ретінде немесе басқаша, PerlScript осы мақсатта көптеген бағдарламалаушылардың таңдауы болып табылады, ал VBScript және әртүрлі Rexx негізделген қозғалтқыштар байланыс және мәтін өңдеу қабілеттері жағынан жеткілікті қуатты болып саналады. Бұл файлдарға қол жеткізу және өңдеуге де қатысты, өйткені VBScript және JScript үшін ең алғашқы WSH қозғалтқыштарында мұндай мүмкіндік болмады, өйткені негізгі тілде мұндай мүмкіндік болмады, ал PerlScript, ooRexxScript және басқаларында бұл мүмкіндік бастапқыда болды. WinWrap Basic, SaxBasic және басқалары Visual Basic for Applications-ке ұқсас. Бұл құралдар бағдарламалық жасақтамаға скрипт және макрос мүмкіндіктерін қосу үшін қолданылады және мысалы, Host Explorer-дің бұрынғы нұсқаларында кездеседі. Көптеген басқа тілдер де осылай қолданылуы мүмкін. Бағдарламаларды скрипттеу үшін қолданылатын басқа тілдерге Rexx, Tcl, Perl, Python, Ruby және басқалары кіреді, олар операциялық жүйедегі объектілерді басқару әдістерімен және басқа да мүмкіндіктермен бірге келеді. Бір ерекшелік – Zoc терминал эмуляторы, ол бағдарламамен бірге берілетін Rexx интерпретаторымен немесе пайдаланушы көрсеткен басқа интерпретатормен басқарылады; бұл Passport эмуляторы үшін де солай. VBScript Microsoft Outlook 97-дегі макро тілі, ал WordBasic Word-тың 6-ға дейінгі нұсқалары, Powerpoint және басқа құралдар үшін қолданылады. Excel-дің 5.0 нұсқасына дейін Visual Basic 5.0 қолданылады. Office 2000 және одан кейінгі нұсқаларында барлық компоненттер үшін нағыз Visual Basic for Applications 6.0 қолданылады. Басқа компоненттер Visual Basic for Applications-ты пайдаланады. OpenOffice макро тілі ретінде Visual Basic, Python және бірнеше басқа тілдерді қолданады, ал басқаларын да қосуға болады. LotusScript VBA-ға өте жақын және Lotus Notes және Lotus SmartSuite үшін қолданылады, оның ішінде Lotus Word Pro (Ami Pro-ның қазіргі ұрпағы), Lotus Approach, Lotus FastSite, Lotus 1 2 3 және т.б., ал Corel өнімдерінде, мысалы WordPerfect, Paradox, Quattro Pro және т.б. Microsoft лицензиялаған таза VBA қолданылады.
Windows Script Host may be used for a variety of purposes, including logon scripts, administration and general automation. Microsoft describes it as an administration tool. 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. Windows Management Instrumentation is also scriptable by this means. The WSH, the engines, and related functionality are also listed as objects which can be accessed and scripted and queried by means of the VBA and Visual Studio object explorers and those for similar tools like the various script debuggers, e. g. Microsoft Script Debugger, and editors. WSH implements an object model which exposes a set of Component Object Model (COM) interfaces. 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 Microsoft Access by various means including various ODBC engines and SQL, ooRexxScript to create what are in effect Rexx macros in Microsoft Excel, Quattro Pro, Microsoft Word, Lotus Notes and any of the like, the XLNT script to get environment variables and print them in a new TextPad document, and so on. The VBA functionality of Microsoft Office, Open Office (as well as Python and other installable macro languages) and Corel WordPerfect Office is separate from WSH engines although Outlook 97 uses VBScript rather than VBA as its macro language. Python in the form of ActiveState PythonScript can be used to automate and query the data in SecureCRT, as with other languages with installed engines, e. g. PerlScript, ooRexxScript, PHPScript, RubyScript, LuaScript, XLNT and so on. One notable exception is Paint Shop Pro, 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 Unix emulation and integration software suites or other standalone Python implementations et al. 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. The SecureCRT terminal emulator, SecureFX 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. As of the most recent releases and going back a number of versions now, the programmability of 4NT / Take Command 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. The ZOC 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. The MKS Toolkit provides PScript, a WSH engine in addition to the standard Perl interpreter perl. exe which comes with the package. 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 and and others of that type. 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, whilst PerlScript, ooRexxScript, and the others have this from the beginning. WinWrap Basic, SaxBasic 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 Host Explorer 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. One exception is that the Zoc terminal emulator is controlled by a Rexx interpreter supplied with the package or another interpreter specified by the user; this is also the case with the Passport emulator. VBScript is the macro language in Microsoft Outlook 97, whilst WordBasic 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 Visual Basic for Applications. OpenOffice uses Visual Basic, Python, and several others as macro languages and others can be added. LotusScript is very closely related to VBA and used for Lotus Notes and Lotus SmartSuite, which includes Lotus Word Pro (the current descendant of Ami Pro), Lotus Approach, Lotus FastSite, Lotus 1 2 3, &c, and pure VBA, licensed from Microsoft, is used in Corel products such as WordPerfect, Paradox, Quattro Pro &c.
Windows жүйесінде орнатылған кез келген скрипт тілін PerlScript, PythonScript, VBScript және басқа қолжетімді қозғалтқыштар арқылы сыртқы түрде қолдануға болады, олар дерекқорларға (Lotus Notes, Microsoft Access, Oracle Database, Paradox) және электрондық кестелерге (Microsoft Excel, Lotus 1 2 3, Quattro Pro) және басқа құралдарға, мысалы мәтін өңдегіштерге, терминал эмуляторларына, командалық қабықшаларға және т.б. қол жеткізу үшін пайдаланылуы мүмкін. Бұл WSH арқылы жүзеге асырылуы мүмкін, сондықтан орнатылған қозғалтқышы бар кез келген тілді пайдалануға болады. Take Command күшейтілген командалық қабықшасының соңғы нұсқаларында, қабықша нұсқамасында терілген "script" командасы қазіргі уақытта орнатылған қозғалтқыштардың тізімін, әрқайсысы жеке жолда және CR LF-мен бөлінген күйде шығарады.
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, Oracle Database, 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. In recent versions of the Take Command 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.
Қауіпсіздік мәселелері
Windows бағдарламалары мен процестері Windows Script Host-тағы скрипт арқылы автоматтандырылуы мүмкін. Вирустар мен зиянды бағдарламалар осы мүмкіндікті пайдаланып жасалуы мүмкін. Сондықтан, кейбір мамандар қауіпсіздік мақсатында оны өшіруді ұсынады. Балама ретінде, антивирустық бағдарламалар WSH ортасында іске қосылатын vbs және басқа скрипттерді басқару мүмкіндігін ұсынуы мүмкін. WSH-тың 5.6 нұсқасынан бастап, егер жүйеде жарамды сертификат болса, скрипттерді Scripting.Signer нысаны арқылы бағдарламалық түрде цифрлық қолтаңбалауға болады. Сонымен қатар, WSH файл түрлерін қолдау үшін кеңейтілген Platform SDK құралындағы Signcode құралын командалық жол арқылы пайдалануға болады. Windows XP-мен бірге енгізілген Бағдарламалық шектеу саясатын пайдаланып, жүйе тек сенімді жерлерде сақталған, белгілі MD5 хэшіне ие немесе сенімді баспагерлермен цифрлық қолтаңбаланған скрипттерді ғана орындау үшін конфигурациялануы мүмкін, бұл сенімсіз скрипттердің іске қосылуын болдырмайды.
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. Alternatively, antivirus programs may offer features to control vbs and other scripts which run in the WSH environment. Since version 5.6 of WSH, scripts can be digitally signed programmatically using the Scripting. Signer object in a script itself, provided a valid certificate 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. By using Software Restriction Policies 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.
Қол жетімді скрипт жасау қозғалтқыштары
Ескерту: Бұл скрипт жасау қозғалтқыштарының барлығы Windows-та кез келген санда бағдарламалармен және орнатылған CGI бағдарламалауда пайдаланылуы мүмкін, яғни CGI мақсаттары үшін серверде қолданылатын скрипт үшін бастапқы код файлдары cgi және т.б. сияқты басқа файл кеңейтулерін ала алады. Windows скрипт хостінің бірнеше тілдегі скриптті кеңейтілген файлдарында орындау мүмкіндігі бар. Кеңейтілген Html және XML желілік пайдалану үшін скрипттермен жұмыс істегенде қосымша мүмкіндіктерге қосылады, сонымен қатар белсенді серверлік парақтар және т.б. Сонымен қатар, Windows қабықша скрипттері және TCC, 4NT және т.б. сияқты кеңейтілген мүмкіндіктері бар қабықшаларда жазылған скрипттер, сондай-ақ Unix қабықшалары MKS Toolkit сияқты өзара іс-қимыл бағдарламалық жасақтамасында да скрипттер болуы мүмкін.
Note: By definition, all of these scripting engines can be utilised in CGI 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 extension. Extended Html and XML also add to the additional possibilities when working with scripts for network use, as do Active Server Pages and so forth. Moreover, Windows shell scripts and scripts written in shells with enhanced capabilities like TCC, 4NT, etc. and Unix shells under interoperability software like the MKS Toolkit can have scripts embedded in them as well. Engine name Scripting language implemented Base language File extensions Availability Produced by Status Initial release date Encoded scripts Notes VBScript Microsoft VBScript Microsoft Visual Basic vbs Installed by default Microsoft default install 1999 Yes, Default windows host script JScript Microsoft JScript ECMAScript js Installed by defaultMicrosoft default install 1999 Yes, Default java script host WinWrap Basic WinWrap Basic Basic wwb In the main WWB installation Polar Engineering Standard functionality of WWB; Utilises both NET and COM 2004 Yes PerlScript Perl Perl 5 pls with ActiveState Perl ActiveState [[Open source software 1999 Reportedly yes PScript Perl Perl 5, CGI functionality p, ps with MKS Toolkit MKS Commercial 2001 XBScript xBase Scripting Engine xBase (Clipper) xbs, prg Clipper with XBScript sofrware Commercial LotusScript WSH LotusScript Microsoft Visual Basic (q. v.) nsf Third party download Service Desk Plus Freeware 2001 RexxScript Rexx Rexx rxs, rx, rex With some Rexx implementations Various Freeware 1998 ooRexxScript Open Object REXX REXX rxs with Open Object Rexx or free from some third parties Open Object Rexx team Open source PythonScript Python Python pys SourceForge & with ActivePython The Pywin32 project Open source TclScript Tcl/Tk Tcl/Tk tcls SourceForge ActiveState or third party Open source ActivePHPScript PHP PHP phps with PHP PHP team Open source PHPScript PHP PHP phps with PHP PHP team Open source Earlier version of ActivePHPScript RubyScript Ruby Ruby rbs with Ruby distribution Ruby team Open source Yes XLNTScript XLNT DCL xcs with XLNT Advanced Systems Concepts, Inc. Commercial 1997 An OpenVMS DCL based multi purpose scripting application for Windows LuaScript Lua Lua lua with Lua Lua organisation Open Source Object REXX engine Object REXX Rexx rex, rxs with IBM Object REXX IBM Commercial 2002 XML Engine XML parsing Extended HTML, XML xml with many XML implementations Elf Data de facto Default install 2000 Macintosh too Kixtart WSH Engine Kixtart KixTart, MS DOS, Windows 95. Windows NT shells kix with KixStart Microsoft Netherlands Windows Resource Kits and other resources 1996 Download from Microsoft or elsewhere, aka KixStart32 NullScript NullScript Null language ns with NullScript NullScript Organisation Windows Resource Kits and other resources 1999 ForthScript Forth Forth fth, others Forth DMOZ Open Source Haskell Script Haskell Haskell *. hsk (provisional), others free download Open Source XSLT WSH Engine XSLT XSLT xslt free download Open Source CobolScript WSH Engine Cobol Cobol cbl. cob, cb Fujitsu Cobol 3 free for educational use Commercialware from Fujitsu free with free compiler for educators &c Proprietary Delphi scripting engine Delphi Delphi, a Pascal variant dlp, del, In some Delphi distributions or resource kits Commercial 2003 DMDScript DMDScript D, a major incrementation of C dmd DMD Distributions, download Freeware Available on Web 2014 DMD C# Script C# Microsoft C#. NET cs. c#, others Source code available Open Source, active development underway unclear 2013 Small C Scripting Engine C C (K&R, Ansi) c, others Various locations, check Web Freeware 2009 JavaScript WSH Engine JavaScript/Java Java & variants java, j, jva, others With many JavaScript implementations Sun/Other Java Organisations Freeware Take Command WSH Engine 4NT/Take Command TCC, the current version of 4NT p btm, cmd, bat, others Check JP Software JP Software Proprietary 2015 Early development 92Script WSH Engine TI 89/92+/Voyager 200 TI Basic Calculator TI Basic .92bs Project Web/FTP site Various independent programmers Experimental, Open Source 2014 "possible" Beta Q4 2015 for main engine; graphing functionality (92Script/Tk) then or later 48Script WSH Engine HP 48 Calculator family on board programming language HP 48 Programming Language, distant relative of Forth, Basic, Lisp .48s Project Web/FTP site Various independent programmers Experimental 2015 Planned Status as of 2015 09 30. Language has Lisp, Basic, Forth, and other influences. Fortran Script FortranFortran 77. for, ftn. f77, f90, f95VariousVariousExperimental proof of concept, academic exercise, shareware, commercial, open source.2000 PascalScript Object Pascal Pascal 7 pas, ops, other Object Pascal RemObjects Freeware 2001 Can also be used with Delphi directly Lisp WSH Engine Lisp Lisp lisp, lsp Various Lisp tools AutoLisp and others Freeware or Shareware BESEN ECMA JavaScript Java and Variants. bes, bsn, others SourceForge BESEN Organisation Open Source 2011 ECMAScript WSH engines Java and Variants Various Various Various Various Experimental, Freeware, Open Source, Shareware, Proprietary, Commercialware 2005 There are numerous ECMAScript implementations but not all have WSH engines CFXScript WSH Engine Casio CFX 9850 and fx Calculator series on board programming language Casio Calculator Programming Language, as ported to various operating systems as CFW cfxb Project Web/FTP Sites independent programmers Experimental 2015 Planned Status as of 2015 09 30. Language has elements of Basic, Forth, Fortran, and others. SharpCalcScript WSH Engine Sharp graphing calculators on board programming language Sharp S Basic as ported to windows as NeusSFortran scsb Project Web/FTP Sites independent programmers Experimental 2015 Planned Status as of 2015 09 30. Also subsumes the S Basic language of Sharp's Pocket Computers. There have been suggestions of creating engines for other languages, such as LotusScript, SaxBasic, BasicScript, KiXtart, awk, bash, csh and other Unix shells, 4NT, cmd. exe (the Windows NT shell), Windows PowerShell, DCL, C, C++, Fortran and others. The XLNT language 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). 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.
| Engine name | Скрипт тілі | Іске асырылған база тілі | Файл кеңейтулері | Қолжетімділік | Шығарылған күні | Кодталған скрипттер | Ескертулер |
|---|---|---|---|---|---|---|---|
| VBScript | Microsoft VBScript | Microsoft Visual Basic | vbs | Әдеттегідей орнатылған | 1999 | Иә, Әдеттегідей орнатылған windows host script | |
| JScript | Microsoft JScript | ECMAScript | js | Әдеттегідей орнатылған | 1999 | Иә, Әдеттегідей орнатылған java script host | |
| WinWrap Basic | WinWrap Basic | Basic | wwb | Негізгі WWB орнатуда | 2004 | Иә | Polar Engineering, WWB стандартты функционалдығы; NET және COM екеуін де пайдаланады |
| PerlScript | Perl | Perl 5 | pls | ActiveState Perl | 1999 | Жарияланған иә | [[Ашық көз бағдарламалық]] |
| PScript | Perl | Perl 5, CGI функционалдығы | p, ps | MKS Toolkit | 2001 | | |
| XBScript | xBase Scripting Engine | xBase (Clipper) | xbs, prg | | | | Clipper with XBScript software |
| LotusScript | WSH LotusScript | Microsoft Visual Basic | nsf | Үшінші тараптан жүктеу | 2001 | | Service Desk Plus Freeware |
| RexxScript | Rexx | Rexx | rxs, rx, rex | Әртүрлі Rexx нұсқалары | 1998 | | |
| ooRexxScript | Open Object REXX | REXX | rxs | Open Object Rexx team | | | Ашық көз |
| PythonScript | Python | Python | pys | SourceForge & with ActivePython | | | The Pywin32 project, Ашық көз |
| TclScript | Tcl/Tk | Tcl/Tk | tcls | SourceForge, ActiveState | | | Ашық көз |
| ActivePHPScript | PHP | PHP | phps | PHP team | | | Ашық көз |
| PHPScript | PHP | PHP | phps | PHP team | | | Ашық көз |
| RubyScript | Ruby | Ruby | rbs | Ruby distribution | | | Ашық көз |
| XLNTScript | XLNT | DCL | xcs | XLNT Advanced Systems Concepts, Inc. | 1997 | | Коммерциялық |
| LuaScript | Lua | Lua | lua | Lua organisation | | | Ашық көз |
| Object REXX engine | Object REXX | Rexx | rex, rxs | IBM | 2002 | | Коммерциялық |
| XML Engine | XML parsing | Extended HTML, XML | xml | Elf Data | 2000 | | de facto, Default install, Macintosh too |
| Kixtart | WSH Engine | KixTart, MS DOS, Windows 95. Windows NT shells | kix | KixStart | 1996 | | Microsoft Netherlands Windows Resource Kits and other resources, жүктеу Microsoft-тан немесе басқа жерден, aka KixStart32 |
| NullScript | NullScript | Null language | ns | NullScript Organisation | 1999 | | Windows Resource Kits and other resources |
| ForthScript | Forth | Forth | fth, others | Forth DMOZ | | | Ашық бастапқы код |
| Haskell Script | Haskell | Haskell | *. hsk (әдеттегі), басқалары | | | | Ашық код |
| XSLT WSH Engine | XSLT | XSLT | xslt | | | | Ашық код |
| CobolScript | WSH Engine | Cobol | cbl. cob, cb | Fujitsu | 2001 | | Cobol 3, білім беру мақсатында тегін, Коммерциялық бағдарламалық жасақтама Fujitsu-дан тегін және оқытушылар үшін тегін компилятормен бірге. Жеке меншік |
| Delphi scripting engine | Delphi | Delphi, Pascal нұсқасы | dlp, del | Delphi дистрибутивтерінде немесе ресурстық жиынтықтарда | 2003 | | Коммерциялық |
| DMDScript | DMDScript | D, C d | dmd | DMD Distributions | 2014 | | тегін бағдарламалық жасақтама, Интернетте қол жетімді |
| DMD C# Script | C# | Microsoft C#. NET | cs. c#, others | | 2013 | | Ресурс коды қол жетімді, Ашық код, белсенді даму жүргізілуде |
| Small C Scripting Engine | C | C (K&R, Ansi) | c, others | | 2009 | | Веб-ашық, тегін бағдарламалық жасақтама |
| JavaScript WSH Engine | JavaScript/Java | Java & варианттары | java, j, jva, others | Sun/Other Java Organizations | | | тегін бағдарламалық жасақтама |
| Take Command WSH Engine | 4NT/Take Command | TCC, 4NT | p btm, cmd, bat, others | JP Software | 2015 | | Жеке, Алғашқы даму |
| 92Script WSH Engine | TI 89/92+/Voyager 200 | TI Basic Calculator | .92bs | Web Project / FTP сайт | 2014 | | Тәуелсіз бағдарламашылар, Эксперименталды, Ашық код, "мүмкін" |
| 48Script WSH Engine | HP 48 Calculator family | HP 48 Programming Language | .48s | Project Web/FTP сайт | 2015 | | Тәуелсіз бағдарламашылар, Эксперименталды |
| Fortran Script | Fortran | Fortran 77 | for, ftn. f77, f90, f95 | | 2000 | | Эксперименталды тұжырымдаманың дәлелі, академиялық жаттығу, ортақ бағдарламалық жасақтама, коммерциялық, ашық бастапқы код |
| PascalScript | Object Pascal | Pascal | pas, ops, other | RemObjects | 2001 | | Delphi-мен тікелей қолдануға болады |
| Lisp WSH Engine | Lisp | Lisp | lisp, lsp | Various Lisp tools | | | тегін бағдарламалық жасақтама немесе ортақ бағдарламалық жасақтама |
| BESEN ECMA | JavaScript | Java and Variants | bes, bsn, others | SourceForge BESEN Organization | 2011 | | Ашық код |
| ECMAScript WSH engines | Java and Variants | Various | Various | Various | 2005 | | Эксперименталды, Фриуэр, Ашық код, Shareware, меншік, коммерциялық бағдарламалық жасақтама |
| CFXScript | WSH Engine | Casio CFX 9850 and fx Calculator series | cfxb | Project Web/FTP Sites | 2015 | | Тәуелсіз бағдарламашылар, Эксперименталды |
| SharpCalcScript | WSH Engine | Sharp graphing calculators | scsb | Project Web/FTP Sites | 2015 | | Тәуелсіз бағдарламашылар, Эксперименталды |
Note: By definition, all of these scripting engines can be utilised in CGI 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 extension. Extended Html and XML also add to the additional possibilities when working with scripts for network use, as do Active Server Pages and so forth. Moreover, Windows shell scripts and scripts written in shells with enhanced capabilities like TCC, 4NT, etc. and Unix shells under interoperability software like the MKS Toolkit can have scripts embedded in them as well. Engine name Scripting language implemented Base language File extensions Availability Produced by Status Initial release date Encoded scripts Notes VBScript Microsoft VBScript Microsoft Visual Basic vbs Installed by default Microsoft default install 1999 Yes, Default windows host script JScript Microsoft JScript ECMAScript js Installed by defaultMicrosoft default install 1999 Yes, Default java script host WinWrap Basic WinWrap Basic Basic wwb In the main WWB installation Polar Engineering Standard functionality of WWB; Utilises both NET and COM 2004 Yes PerlScript Perl Perl 5 pls with ActiveState Perl ActiveState [[Open source software 1999 Reportedly yes PScript Perl Perl 5, CGI functionality p, ps with MKS Toolkit MKS Commercial 2001 XBScript xBase Scripting Engine xBase (Clipper) xbs, prg Clipper with XBScript sofrware Commercial LotusScript WSH LotusScript Microsoft Visual Basic (q. v.) nsf Third party download Service Desk Plus Freeware 2001 RexxScript Rexx Rexx rxs, rx, rex With some Rexx implementations Various Freeware 1998 ooRexxScript Open Object REXX REXX rxs with Open Object Rexx or free from some third parties Open Object Rexx team Open source PythonScript Python Python pys SourceForge & with ActivePython The Pywin32 project Open source TclScript Tcl/Tk Tcl/Tk tcls SourceForge ActiveState or third party Open source ActivePHPScript PHP PHP phps with PHP PHP team Open source PHPScript PHP PHP phps with PHP PHP team Open source Earlier version of ActivePHPScript RubyScript Ruby Ruby rbs with Ruby distribution Ruby team Open source Yes XLNTScript XLNT DCL xcs with XLNT Advanced Systems Concepts, Inc. Commercial 1997 An OpenVMS DCL based multi purpose scripting application for Windows LuaScript Lua Lua lua with Lua Lua organisation Open Source Object REXX engine Object REXX Rexx rex, rxs with IBM Object REXX IBM Commercial 2002 XML Engine XML parsing Extended HTML, XML xml with many XML implementations Elf Data de facto Default install 2000 Macintosh too Kixtart WSH Engine Kixtart KixTart, MS DOS, Windows 95. Windows NT shells kix with KixStart Microsoft Netherlands Windows Resource Kits and other resources 1996 Download from Microsoft or elsewhere, aka KixStart32 NullScript NullScript Null language ns with NullScript NullScript Organisation Windows Resource Kits and other resources 1999 ForthScript Forth Forth fth, others Forth DMOZ Open Source Haskell Script Haskell Haskell *. hsk (provisional), others free download Open Source XSLT WSH Engine XSLT XSLT xslt free download Open Source CobolScript WSH Engine Cobol Cobol cbl. cob, cb Fujitsu Cobol 3 free for educational use Commercialware from Fujitsu free with free compiler for educators &c Proprietary Delphi scripting engine Delphi Delphi, a Pascal variant dlp, del, In some Delphi distributions or resource kits Commercial 2003 DMDScript DMDScript D, a major incrementation of C dmd DMD Distributions, download Freeware Available on Web 2014 DMD C# Script C# Microsoft C#. NET cs. c#, others Source code available Open Source, active development underway unclear 2013 Small C Scripting Engine C C (K&R, Ansi) c, others Various locations, check Web Freeware 2009 JavaScript WSH Engine JavaScript/Java Java & variants java, j, jva, others With many JavaScript implementations Sun/Other Java Organisations Freeware Take Command WSH Engine 4NT/Take Command TCC, the current version of 4NT p btm, cmd, bat, others Check JP Software JP Software Proprietary 2015 Early development 92Script WSH Engine TI 89/92+/Voyager 200 TI Basic Calculator TI Basic .92bs Project Web/FTP site Various independent programmers Experimental, Open Source 2014 "possible" Beta Q4 2015 for main engine; graphing functionality (92Script/Tk) then or later 48Script WSH Engine HP 48 Calculator family on board programming language HP 48 Programming Language, distant relative of Forth, Basic, Lisp .48s Project Web/FTP site Various independent programmers Experimental 2015 Planned Status as of 2015 09 30. Language has Lisp, Basic, Forth, and other influences. Fortran Script FortranFortran 77. for, ftn. f77, f90, f95VariousVariousExperimental proof of concept, academic exercise, shareware, commercial, open source.2000 PascalScript Object Pascal Pascal 7 pas, ops, other Object Pascal RemObjects Freeware 2001 Can also be used with Delphi directly Lisp WSH Engine Lisp Lisp lisp, lsp Various Lisp tools AutoLisp and others Freeware or Shareware BESEN ECMA JavaScript Java and Variants. bes, bsn, others SourceForge BESEN Organisation Open Source 2011 ECMAScript WSH engines Java and Variants Various Various Various Various Experimental, Freeware, Open Source, Shareware, Proprietary, Commercialware 2005 There are numerous ECMAScript implementations but not all have WSH engines CFXScript WSH Engine Casio CFX 9850 and fx Calculator series on board programming language Casio Calculator Programming Language, as ported to various operating systems as CFW cfxb Project Web/FTP Sites independent programmers Experimental 2015 Planned Status as of 2015 09 30. Language has elements of Basic, Forth, Fortran, and others. SharpCalcScript WSH Engine Sharp graphing calculators on board programming language Sharp S Basic as ported to windows as NeusSFortran scsb Project Web/FTP Sites independent programmers Experimental 2015 Planned Status as of 2015 09 30. Also subsumes the S Basic language of Sharp's Pocket Computers. There have been suggestions of creating engines for other languages, such as LotusScript, SaxBasic, BasicScript, KiXtart, awk, bash, csh and other Unix shells, 4NT, cmd. exe (the Windows NT shell), Windows PowerShell, DCL, C, C++, Fortran and others. The XLNT language 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). 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.
Нұсқалар тарихы
Windows нұсқасы WSH нұсқасымен бірге жеткізіледі Соңғы қайта таратылатын нұсқасы Windows 95 Жоқ (жеке қайта таратылатын) 5.6 Windows NT 4.0 Жоқ (жеке қайта таратылатын) 5.6 Windows CE 3.0 1.0 (орнату дискісінде орнату мүмкіндігі бар) 2.0 Windows 98 1.0 5.6 Windows 98 екінші басылымы 1.0 5.6 Windows 2000 2.0 (сонымен қатар WSH 5.1) 5.7 Windows 2000 SP3, SP4 және SP5 5.6 5.7 Windows Me 2.0 (сонымен қатар WSH 5.1) 5.6 Windows XP 5.6 5.7 Windows XP SP3 5.7 Windows Server 2003 қолданылмайды 5.6 Windows Vista 5.7 қолданылмайды Windows Server 2008 қолданылмайды 5.7 Windows 7 қолданылмайды 5.8 Windows Server 2008 R2 қолданылмайды 5.8 Windows 8 қолданылмайды 5.8 Windows Server 2012 қолданылмайды 5.8 Windows 10 қолданылмайды 5.812 Windows Server 2016 қолданылмайды 5.812 WSH нұсқасының 5.6 қайта таратылатын нұсқасын Windows 95/98/Me және Windows NT 4.0/2000 жүйелеріне орнатуға болады. WSH 5.7 Windows 2000, Windows XP және Windows Server 2003 үшін жүктеуге қол жетімді. Жақында Microsoft Download Center-ден ескі операциялық жүйелерге (Windows 9x және Windows NT 4.0) арналған қайта таратылатын нұсқалар енді қол жетімді емес. Windows XP Service Pack 3 басылымынан бастап Microsoft-тан тек 5.7 нұсқасы ғана қол жетімді, ал жаңа өзекті жаңартулар Windows-тың жаңа нұсқаларында қамтылған.
Windows version Shipped with WSH version Last redistributable version Windows 95 None (separate redistributable) 5.6 Windows NT 4.0 None (separate redistributable) 5.6 Windows CE 3.0 1.0 (optional install on installer disc) 2.0 Windows 98 1.0 5.6 Windows 98 Second Edition 1.0 5.6 Windows 2000 2.0 (also termed WSH 5.1) 5.7 Windows 2000 SP3, SP4 and SP5 5.6 5.7 Windows Me 2.0 (also termed WSH 5.1) 5.6Windows XP 5.6 5.7Windows XP SP3 5.7 Not applicable Windows Server 2003 5.6 5.7 Windows Vista 5.7 Not applicable Windows Server 2008 5.7 Not applicable Windows 7 5.8 Not applicable Windows Server 2008 R2 5.8 Not applicable Windows 8 5.8 Not applicable Windows Server 2012 5.8 Not applicable Windows 10 5.812 Not applicable Windows Server 2016 5.812 Not applicable
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 , redistributable versions for older operating systems (Windows 9x and Windows NT 4.0) are no longer available from the Microsoft Download Center. 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.