适用于 Windows 的通用脚本语言 [英] Universal scripting language for Windows
问题描述
Linux 用户 - Windows 菜鸟警报 ;)
有人可以向我推荐无需额外安装即可在所有 Windows(让我们专注于 XP,也可能是 Vista)机器上运行的脚本/编程语言吗?不会让我安装新东西来运行代码的东西.
例如在 Linux 上,我有 shell (heh) 并且可以在不安装任何东西的情况下编写基本的东西;python 通常是默认安装的,我可以在不安装任何东西的情况下使用它,等等.我正在为 Windows 搜索类似的东西(我想如果我想在 Windows 上使用 python,我必须先安装它).>
...bat 文件?这个现在用了吗?
.NET(例如 C#)不是默认安装的,我猜?
还有什么?
@OP 如果您想要一种通用"脚本语言,何不尝试一下 Python(对于 Windows,请转到 ActiveState Python).(甚至 Perl/Java 等)至于使用批处理、powershell、vbscript,需要注意的一件小事是用它们编写的脚本不能移植到 *nix.因此,不能被认为是通用的"
Linux user - Windows noob alert ;)
Could someone recommend me scripting/programming language that's functional and works on all Windows (let's focus on XP, maybe Vista too) machines without additional installation? Something that won't make me install new things to run code.
For example on Linux I have shell (heh) and can code basic things without installing anything; python is usually installed by default and I can use it without installing anything, etc. I'm searching for something like this for Windows (I guess that if I wanted to use python on Windows I would have to install it first).
...bat files? Is this used at all now?
.NET (for, let's say C#) isn't installed by default, I guess?
Something else?
@OP if you want a "universal" scripting language, why don't you try out Python (for windows, go to ActiveState Python). (Or even Perl/Java etc) As for using batch, powershell, vbscript, the one minor thing to take note is that scripts written in them are not portable to *nix. therefore, cannot be considered "universal"
这篇关于适用于 Windows 的通用脚本语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!