2012年2月18日 添加:
From:http://technet.microsoft.com/library/ee176996.aspx 

Cscript and Wscript

Cscript and Wscript are the two script hosts within the Windows Script Host (WSH) environment. Unless you specify otherwise, Wscript is the default.

Setting the Default Script Host

cscript //H:cscript

wscript //H:wscript
 

Cscript vs. Wscript

The difference between Cscript and Wscript is that Cscript is the command-line version of the script host and Wscript is the graphical version. This difference isn’t really noticeable unless your script uses the Wscript.Echo command. As you’ve already seen, if you use Cscript your output from a Wscript.Echo statement will, by default, display to the command window; if you use Wscript that output will display in message boxes. There are other slight differences between the two, but Wscript.Echo is the most obvious and the one you’re likely to run into most often.

参考:

Jscript vs Javascript

http://javascript.about.com/od/reference/a/jscript.htm

About Javascript http://msdn.microsoft.com/en-us/library/cte3c772(v=vs.85).aspx

原来的 
Copy from http://technet.microsoft.com/en-us/library/bb490887.aspx 
Using the command-based script host (CScript.exe)

Cscript.exe is a command-line version of the Windows Script Host that provides command-line options for setting script properties.

With Cscript.exe, you can run scripts by typing the name of a script file at the command prompt. Like Microsoft Internet Explorer, Windows Script Host serves as a controller of Windows Script compliant scripting engines, but Windows Script Host has very low memory requirements. Windows Script Host is ideal for both interactive and non-interactive scripting needs, such as logon scripting and administrative scripting.

Windows Script Host supports scripts written in VBScript or JScript. When you start a script from your desktop or from the command prompt, the script host reads and passes the specified script file contents to the registered script engine. The script engine uses file extensions (that is, .vbs for VBScript and .js for JScript) to identify the script. As a result, you do not need to know the exact programmatic identifier (that is, the ProgID) of the script engine. The script host maintains a mapping of script extensions to programmatic identifiers, and uses the Windows XP association model to start the appropriate engine for a given script. For more information about Windows Script Host, seeWindows Script Host For more information about CScript.exe, see To run scripts using the command-line-based script host (cscript.exe)

CScript vs WScript JavaScript vs JScript相关推荐

  1. cscript和wscript之间的区别

    Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides a ...

  2. JS和JS是IE上JavaScript或JScript的缩写。

    JS和JS是IE上JavaScript或JScript的缩写. javascript是所有浏览器的开放式标准脚本语言 JScript是微软自己的开放式脚本语言标准,只有微软的IE浏览器遵循. JScr ...

  3. ECMAScript,javascript,jscript

    ECMAScript是一种由欧洲计算机制造商协会(ECMA)通过ECMA-262标准化的脚本程序设计语言.这种语言在万维网上应用广泛,它往往被称为JavaScript或JScript,但实际上后两者是 ...

  4. Java、JavaScript和JScript

    这三者没有必然的联系,它们是完全不同的事物,它们是分别由不同公司开发的,Java是由Sun公司创立.开发:JavaScript则是Sun和Netscape公司共同开发的产品:JScript是微软对EC ...

  5. cscript和wscript

    WScript.exe 和 CScript.exe 都是Windows Script Host(WSH Windows脚本宿主)他们有什么区别呢,据我所知,最大的区别是前者是窗口模式运行后者是命令行模 ...

  6. JScript 是 JavaScript 的缩写吗?

    JScript 是 JavaScript 的缩写吗?         资策会数字教育研究所讲师 杨宏文                          很多人都误以为JScript就是JavaScr ...

  7. Wscript对象详解

    15.6  Windows脚本宿主的内建对象 每个编程环境都提供了自己的对象模型,开发人员 可以使用这些对象模型实现各种解决方案,WSH也不例外.WSH包含了一组核心对象,分别包含了属性和方法,可以用 ...

  8. 01初识JavaScript

    技术交流QQ群:1027579432,欢迎你的加入! 1.JavaScript历史 布兰登-艾奇(Brendan Eich,1961年-): 他在1995年利用10天时间完成JavaScript设计: ...

  9. ECMAScript 和 JavaScript 的未来

    本文摘自<深入理解JavaScript特性>,本书将JavaScript新特性融入简单易懂的示例中,包括ES6及后续更新,助你大幅提升代码表达能力. JavaScript之父Brendan ...

最新文章

  1. 我一直在假装努力,你却在真正成长
  2. Springboot中优雅进行字段校验
  3. java system.runfinalization()_Android中缓存理解(一)
  4. legend3---4、lavarel中session使用注意
  5. c 内存加载易语言dll,[求助]MemoryLoadLibrary 加载MFC 易语言 DLL 失败
  6. webStorm部分以及重要快捷键
  7. 用vlc搭建简单流媒体服务器(UDP和TCP方式)-转 rtsp很慢才能显示
  8. java基础------多线程(转)
  9. CCF NOI1047 寻找鞍点
  10. 突发奇想-怎么写一个死锁?
  11. freemarker的下拉框回显
  12. 录制GIF动画 MAC
  13. 高德经纬度、百度经纬度、标准经纬度相互转换(VB.NET)
  14. pytorch 权重weight 与 梯度grad 可视化
  15. 2018前端走向全栈,Nodejs快速入门视频教程
  16. 记录一次Spring提供的定时任务
  17. 短信设备常用AT指令集
  18. Palindromic Tree——回文树(回文自动机)
  19. 聊聊Java中的TLAB
  20. 爬虫 某全国律师执业诚信信息公示平台 DES加密+中文字体反爬

热门文章

  1. Captcha must be filled out.
  2. 【美】兰萨姆·里格斯 - 怪屋女孩(2013年6月26日)
  3. 软件工程毕设选题推荐
  4. 为何从开发转到测试,三年软件测试工程师,带你聊聊这其中的秘辛
  5. 机器人点焊枪接线_全功能自动焊枪清枪站安装操作说明书.PDF
  6. 【灵性觉醒】解忧杂货店感悟
  7. Web应急:网站被批量挂黑页
  8. Echarts绘制多层树图
  9. 灯丝温度对于紫外线灯击穿的影响
  10. 保密+完整+可用+安全,规避代码安全「马奇诺防线」,构建软件供应链整体安全