22-5 ������������

b WSH ɡAiH@ǿﶵӫw檺覡Aoǿﶵi DOS Jucscript //?vӦCXACXGpUG Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Ϊk: CScript scriptname.extension [ﶵ...] [޼...] ﶵ: //B 妸Ҧ: Script ~M //D ҥΥDʦ //E:engine ϥθӤӰ Script //H:CScript ܹw] Script Host CScript.exe //H:WScript ܹw] Script Host WScript.exe (w]) //I ʦҦ (w]ȡAP //B ۤ) //Job:xxxx @ WSF u@ //Logo ܼлx (w]) //Nologo ܼлx: b涥q|X{лx //S ϥΪxsثeRO //T:nn Oɭ(쬰): e\ Script 檺̤jɭ //X bu㤤 Script //U Q Unicode qDxWs޾ I/O

Hint
Yb DOS Juwscript //?vA]|oﶵC

ҦpAb DOS Jucscript hello01.jsvɡAo쪺XpUG

Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Hello world! pGQܡuMIcrosoft (R) ...voǦrAiH[Ju//NologovﶵA]ڭ̥iHb DOS Jucscript hello01.js //NologovAo쪺XpUG Hello world! yܻALn Logo N|AܥXӤFC

ڭ̤]iHwUO WSH ɮרӳ]woǰﶵAҦpAڭ̥iHϥηƹkI hello01.jsAuevAAuScriptvAo쪺pUG

ڭ̥iHĿubwƤAScriptvAÿ5AMᤣĿu Script bRODxܼлxvAڭ̫UTwA|bP@ӥؿUͤ@ɮ hello01.wshA䤺epUG

lɡ]hello01.wsh^G]ǦϰUYi^
[ScriptFile]
Path=D:\users\jang\books\wsh\example\hello01.js
[Options]
Timeout=5
DisplayLogo=0

ɮװO hello01.js bɪﶵAyܻAuPath=...vN WSH ɮת|AuTimeout=5vܰ檺̪ɶO 5 ]YWLɶAtη|_{X^AuDisplayLogo=0vNb DOS ɡAܷLnлxCyܻAhello01.js gLFo˪]wAĪGNĩb DOS Jucscript hello01.js //T:5 //NologovC

Hint
ڭ̥iNuPath=...v令۹|Ao˧ڭ̴NiHPɷh hello01.js M hello01.wshAӤAuPath=...vo@CC

HWkOwC WSH ɮץiH]wUOﶵAA]iH]w骺 WSH ﶵAAunb DOS JuwscriptvANiH]wﶵAܪpUG

]w覡pPWz覡AbAحzC
JScript {]pPΡGΩ WSH