I have solve this By Search
Ò»¡¢Ê²Ã´ÊÇWSH£¿
£*£*WSHÊÇWindow s Scripting Host£¨Windows½Å ±¾Ö÷»ú£©µÄËõÂÔÐ Îʽ¡£WSHÕâ¸ö¸ÅÄ î×îÔç³öÏÖÓÚWind ows 98²Ù×÷ϵͳ£¬ÊÇÒ »¸ö»ùÓÚ32 λ Windows ƽ̨¡¢²¢¶ÀÁ¢ÓÚÓ ïÑԵĽű¾ÔËÐл·
¾³¡£±ÈÈ磺Äã×Ô¼ º±àдÁËÒ»¸ö½Å±¾ Îļþ£¬Èçºó׺Ϊ .vbs »ò .js µÄÎļþ£¬È»ºóÔÚ
Windows ÏÂË«»÷ ²¢Ö´ÐÐËü£¬Õâʱ£ ¬ÏµÍ³¾Í»á×Ô¶¯µ÷ ÓÃÒ»¸öÊʵ±µÄ³ÌÐ òÀ´¶ÔËü½øÐнâÊÍ ²¢Ö´ÐУ¬¶øÕâ¸ö³ ÌÐò£¬¾ÍÊÇ Windows Scripting Host£¬³ÌÐòÖ´ÐÐΠļþÃûΪ Wscript.exe £¨ÈôÊÇÔÚ
DOSÃüÁîÌáʾ·ûÏ £¬ÔòΪ Cscript.exe£©¡£
£*£*
£*£*ÏëÖªµÀ×Ô¼ºµ Ä»úÆ÷ÉÏÓÐûÓÐWS HÂ𣿲鿴һÏÂÄ㠵ĻúÆ÷ÀïÓÐûÓС °Wscipt.exe¡±»ò Õß¡°Cscript.exe ¡±ÕâÁ½¸öÎļþ¾Í¿ ÉÒÔÁË¡£Èç¹ûÕÒµ½ £¬¹§ ϲÄ㣡ÄãÒѾ*°²× °ÁËWSH¡£·ñÔò£¬× Ô¼ºÊÖ¶¯°²×°°É£º
£*£*ÔÚWindows 98»·¾³Ï£¬WSHÊÇ ×÷Ϊ²Ù×÷ϵͳµÄÒ »¸ö×é¼þ×Ô¶¯°²×° µÄ£¬Èç¹û²»É÷¶ªÊ §ÁËÕâ¸ö×é¼þ£¬¿É ÒÔ´ÓÒÀ´Î´ò¿ª¡°¿ ØÖÆÃæ°å-->Ìí¼Ó/ɾ³ý³Ì Ðò--¡µWindows°²×°³Ì Ðò--¡µ¸½¼þ¡±,È»ºó½« ¡°Windows
Scripting Host¡±Ç°µÄ»®ÉÏ¡ °¡Ì¡±£¬ÔÙÈ·¶¨¼´ ¿ÉÍê³ÉWSH×é¼þµÄ °²×°¡£
£*£*
£*£*¶þ¡¢½Å±¾ÓïÑ ÔÓëWSHµÄ¹Øϵ
£*£*´ó¼ÒÖªµÀ£¬½ ű¾ÓïÑÔ£¨°üÀ¨Ja vaScriptºÍVBscr iptÓïÑԵȣ©¾*³£ »á±»Ö²ÈëÍøÒ³Ö®Ö Ð£¨ÆäÖаüÀ¨ HTML Ò³Ãæ¿Í»§»ú¶ËºÍ ASP Ò³Ãæ·þÎñÆ÷¶Ë£© ¡£¶ÔÓÚÖ²Èë HTML Ò³ÃæµÄ½Å±¾£¬Æä
ËùÐèµÄ½âÎöÒýÇæ» áÓÉ IE ÕâÑùµÄÍøÒ³ä¯ÀÀÆ ÷ÔØÈ룻¶ÔÓÚÖ²Èë ASP Ò³ÃæµÄ½Å±¾£¬ÆäË ùÐèµÄ½âÎöÒýÇæ»á ÓÉ IIS£¨ Internet Information Services£©Ìṩ¡ £¶ø¶ÔÓÚ³öÏÖÔÚ HTML ºÍ ASP
Ò³ÃæÖ®ÍâµÄ½Å±¾£ ¨ËüÃdz£ÒÔ¶ÀÁ¢µÄ ÎļþÐÎʽ´æÔÚ£©£ ¬¾ÍÐèÒª¾*ÓÉ WSH À´ ´¦ÀíÁË¡£ÐèҪ˵à ÷µÄÊÇ£ºWSH ÒªÏëÕý³£¹¤×÷£¬» ¹Òª°²×°IE 3.0 »ò¸ü¸ß°æ±¾µÄ IE£¬ÒòΪ WSH ÔÚ¹¤×÷ʱ»áµ÷ÓÃ
IE ÖÐµÄ VBScript ºÍ JavaScript¡¡½âÎ öÒýÇæ¡£ [δ½áÊø][iduba_page]ÔÚÕâЩ±»Ö²ÓÚÍøÒ ³µÄ½Å±¾ÓïÑÔÖУ¬ ¾ø´ó¶àÊýÊÇÓëÍø 簲ȫÎ޹صġ£µ« Ò²ÓÐÉÙÊý±ðÓÐÓÃРĵĺÃÊ Õߣ¬°ÑһЩÑÏÖØÎ £¼°ÍøÂ簲ȫµÄ´ú Â루ÎÒÃÇ
³£³£³Æ֮Ϊ¡°¶ñÒ â´úÂ롱£¬ËûÃÇͨ ³£¶¼ÒªÍ¨¹ýÐÞ¸Ä× ¢²á±í´ïµ½¡°¶ñÒâ ¡±µÄÄ¿µÄ£¡£©£¬» ì·ÅÔÚÕý³£µÄ ½Å±¾Ö®ÖУ¬³£³£È ÃÎÒÃÇ·À²»Ê¤·À¡£ µ«ÊÇ£¬Èç¹ûÎÒÃÇÁ ˽âÒ»µã¹ØÓڽű¾ ÓïÑÔµÄÖª
ʶ£¬ÕâЩ¡°¼¿Á©¡ ±¶¼ÊǷdz£ÈÝÒ×ʶ ÆƵġ£»¹ÊÇÈÃÎÒà ǴӼ¸¸ö¼òµ¥ µÄʵÀý¿ªÊ¼°É¡*¡ *
£*£*
£*£*Èý¡¢WSHÓ¦ÓÃ ¾ÙÀý
£*£*WSH¿ÉÒÔ´¦Àí ½Å±¾³ÌÐò£¬ÔõÑùÔ Ä¶ÁºÍ±àдWSHµÄ½ ű¾Ô´ÎļþÄØ£¿Ö» ÒªÄãÓÐÒ»µãBasic £¨»áVBµÄ±à³Ì¸üº 㬺Ǻǣ©ÓïÑ﵀ »ù´¡£¬Ñ§»á¿´¶®W SH½Å ±¾ÓïÑԵijÌÐò²¢² »ÊÇÒ»¼þÄÑÊ¡£È¥ C:WINDOWSSAMPLE SWSHÄ¿
¼ÒÔϽ«¿´¿´°É£ ¡ÀïÃæÌṩÁ˼¸Àà ¾*µäµÄ½Å±¾Àý×Ó£ ¬¶øÇÒ·Ö±ðÌṩÁË VBScriptºÍ
JavaScriptÁ½¸ö° æ±¾£¬ÎÒÃÇÖ»ÒªÓà ¼Çʱ¾´ò¿ªËüÃDz ¢×ÐϸÑо¿¾Í²»ÄÑ Ñ§µ½Ò»Ð©»ù±¾µÄW SHÓ¦Óá£
£*£*
£*£*ÄãÖ»ÐèÔÚ¼ÇÊ Â±¾ÖÐÒÀ´ÎÊäÈëÒÔ ÏÂÿ¸öʵÀýÖеĴ úÂ룬²¢±£´æΪÏà Ó¦µÄ¡°*.vbs¡±ÎÄ ¼þ£¬Ë«»÷Õâ¸öÎļ þ£¬Äã¾Í¿ÉÒÔ¿´µ½ ÏàÓ¦µÄЧ¹ûÁË¡£
Q: How do I open script files? Trying the above solution makes Windows XP
throw an error?
A: This is similar to the *.js association problem. Some machines seem to,
for some reason, lose their *.vbs association. It's not that the files open
with dreamweaver or whatever -- it's that the machine just doesn't know how
to run them. If you have a scheduled task, "Could not run" will appear in
the status column.
So, you're a smart person and read through the FAQ. You find the *.js
extension problem, and you try that fix: you run it as "wscript
c:\path\to\scri pt.vbs". But that, in turn, produces a pop-up error, this
time a "Windows Scripting Host" error: "There is no script engine for file
extension '.vbs'." So, for some reason, wscript doesn't even know what to do
with *.vbs files.
The solution to this problem is to run the script as:
wscript //e:vbscript c:\path\to\scri pt.vbs
The "//e:vbscript" tells wscript to use the vbscript engine to parse the
script. It will then run correctly.
A few alternative solutions, perhaps easier are:
1.. Rename it .vbe (VBScript Encoded Script File). Not sure if this is a
bad idea, but it seemed to work for some scripts.
2.. Make a new association for VBS. Open up my computer, select Tools
menu-> Folder Options, and go to the File Types tab. There probably isn't a
VBS association listed if you have this problem. Select New, type in VBS,
and hit Advanced>>. Then, from the pull-down menu, select "VBScript Script
File". Making this selection automatically takes care of the association,
along with the //e:vbscript problem. This is probably the "correct"
solution...
This problems usually occurs only on Windows XP machines, but the cause is
not known. A Microsoft KB article on this issue can be found here. Thanks
goes to Bob_2k for writing this FAQ entry.
"Allen" <Al******@126.c om> wrote in message
news:ub******** ******@TK2MSFTN GP12.phx.gbl...
I have installed the Updater Application Block, and then I should Deploy
the QuickStarts.
" Install the QuickStarts
After you install the Updater Application Block, you should install the
QuickStart applications by using the Deploy QuickStarts option on the
QuickStarts submenu. This creates the Web folders required by the
QuickStart samples. You can remove the QuickStarts from your computer by
using the Uninstall QuickStarts option on the QuickStarts submenu."
But I don't know how to execute the Depoly.vbs ???
Thank you.