torsdag 08 februari 2007 09:09 skrev Johannes Sixt: > > @echo off > rem () { :; } ; : \ > sh %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 > rem ; : \ > exit /B %ERRORLEVEL% > > > in place of the usual "#!/bin/sh". It requires you to have a command > named @echo.exe in the path that is a noop. Also, it is limited to 9 > command line arguments. > > What a hack! (*) Yes... I suggest you use %* to pass on all arguments. It works with more than 10 arguemtns, including quoted arguemnts (presumably whatever limit windows has) -- robin - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html