外部変形は データのやり取りをテキストファイルで行うので プログラム言語は 自由に選ぶことができます。図形は機能的かつシンプルなため、数多くのユーザーに受け入れられています。
mshtaでコマンドライン引数を使う
:mshtaでコマンドライン引数を使う
@echo off
set argv=%* %0
mshta %~f0 > jwc_temp.txt
type jwc_temp.txt
pause
goto:eof
REM #jww
REM #c a = /_a
REM #e
<script>
with (new ActiveXObject("WScript.Shell")) {
ENV = Environment("Process")
ARGV = ENV("argv").split(/\s+/)
ARGC = ARGV.length
with (new ActiveXObject("Scripting.FileSystemObject")) {
g = GetStandardStream(1) //stdout
for (i = 0; i < ARGC; i++) {
if (i == 0) ARGV[i] = ARGV[i].substr(1);
g.WriteLine(i + " = " + ARGV[i])
}
}}
close()
</script>