1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
@echo off if %1.==msdos. goto call_msdos if %1.==winnt. goto call_winnt echo Usage: configure msdos or configure winnt goto END :call_msdos call config\msdos\configure %1 %2 %3 %4 goto END :call_winnt call config\%2\config-nt %1 %2 %3 %4 goto END :END