Windowsは、MS-DOS時代からのBatch言語を持つが、現在のWindows 11では、標準のスクリプト言語としてはWindows PowerShellが付属している。また、過去には、VBScriptや、JavaScriptなどが実行可能となる「Windows Scripting Host」(Windows Script Hostとも)が付属していた(表01)。
VBScriptが「推奨されない機能」になった。VBScriptは、旧Visual BASIC(VB)の文法をベースに作成された「スクリプト用」言語である。 VBScriptは、現在Windows 11 Ver.22H2に標準でインストールされているWindows Scripting Host(WSH。cscript.exeまたはwscript.exe)から利用する ...
As a Windows system administrator, you constantly perform many routine tasks in an effort to manage, maintain, and support your Windows environment. Occasionally the need will arise to create a script ...