Windows脚本宿主的DotNet版本 [英] DotNet version of Windows Scripting Host

查看:60
本文介绍了Windows脚本宿主的DotNet版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好

我在一家小商店里工作(只有我们两个),我们目前管理着更多我们想要的.vbs脚本(我们希望管理零个).这些脚本的优点之一是可以快速进行更改(必要时)并返回我们的日常工作.

I work in a small shop (only two of us) and we currently manage more .vbs scripts that we would like to (we would like to manage zero). One of the nice things about these scripts is that it's quick to make changes (as necessary) and go back to our day jobs.

这很好,直到我们决定需要大刀阔斧地改变工作,然后再开发和调试PITA,主要是因为感觉就像我正在用棒球棍射击游泳池一样.

That's all nice and good until we decide that the job needs to be changed substantially, and then a PITA to develop and debug, mostly because it feels like I'm shooting pool with a baseball bat.

是否有更多的DotNet-y方法可以使人们使用和喜欢Windows Scripting Host样的东西?我自然会喜欢免费/便宜的工具.

Is there a more DotNet-y way to do Windows Scripting Host-like stuff that people have used and like? I'd prefer free/cheap tools, naturally.

此致

-艾伦.

推荐答案

PowerShell 是Microsoft的下一代基于.NET的脚本平台".我还没有详细研究它,但是据我所知,它正在尝试将Unix风格的管道的简单性与丰富对象模型的强大功能相结合.

PowerShell is the "next generation, .NET-based scripting platform" from Microsoft. I haven't looked at it in detail, but from what I've heard it's trying to combine the simplicity of Unix-style pipelines with the power of a rich object model.

我不能真正说出它是否完全符合您想要实现的目标,但这当然值得一看.

Whether or not it fits in with exactly what you want to achieve is something I can't really say, of course - but it's certainly worth a look.

还有其他适用于脚本编写的.NET语言-有动态语言,例如 IronRuby IronPython ,还有

There are other .NET languages which are amenable to scripting - there are the dynamic languages such as IronRuby and IronPython, and also Boo (mostly static, but with duck-typing where you want it).

这篇关于Windows脚本宿主的DotNet版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆