外部変形は データのやり取りをテキストファイルで行うので プログラム言語は 自由に選ぶことができます。図形は機能的かつシンプルなため、数多くのユーザーに受け入れられています。
:javaで現在のディレクトリを表示する
@echo off
if not exist %~dp0Cdclass (
for /f "delims=:" %%n in ('findstr /n "^#!" %0') do (
more +%%n %0 > %~dpn0.java
javac -encoding shift_jis %~dpn0.java
)
)
java -Dfile.encoding=shift_jis -classpath %~dp0 Cd > jwc_temp.txt
goto:eof
REM #jww
REM #e
#!この次の行からプログラムを書いてください
import java.io.*;
class Cd {
public static void main(String[] args) {
String path = System.getProperty("user.dir");
System.out.println("h#cd=" + path);
}
}