cmucl on linux ならこことか
http://www.cons.org/cmucl/doc/executable-print.html

つーかそんなことするまでもなくシェルスクリプトの要領で書けば(Winならバッチファイル?)解決...