Thursday, June 26, 2008

call second from first

Invoke other one command(shell) file from first.

--- first.sh---
#!/bin/sh
./second.sh $@
----------------

--- first.bat ---
@echo off
call second.bat %1 %2 %3 %4 %5
----------------

No comments: