Posted by kusno mudiarto at March 17th, 2008

a little snippet to be put on top of your ruby file so it can run as batch file.

@rem => batch
@ruby %~f0 %*
@goto :eof
batch
# your ruby script here

Blogged with Flock

Tags: