■
[技術]Rubyスクリプトであり、バッチファイルでもあるファイルの作り方 めも
http://mono.kmc.gr.jp/~yhara/d/?date=20071127#p03
@echo off ruby -x "%~f0" %* goto :EOF #!ruby #---------------ruby script starts here puts "hello, rb.bat" #---------------ruby script ends here __END__ :EOF
[技術]Rubyスクリプトであり、バッチファイルでもあるファイルの作り方 めも
http://mono.kmc.gr.jp/~yhara/d/?date=20071127#p03
@echo off ruby -x "%~f0" %* goto :EOF #!ruby #---------------ruby script starts here puts "hello, rb.bat" #---------------ruby script ends here __END__ :EOF