@echo off rem nfly.bat if "%1"=="" goto usage if "%1"=="svga" goto SetVideoMode if "%1"=="SVGA" goto SetVideoMode if "%1"=="ntsc" goto SetVideoMode if "%1"=="NTSC" goto SetVideoMode :DefaultVideoMode set a0=svga goto Start :SetVideoMode set a0=%1 shift :Start push \nd call set%a0%.bat if "%2"=="" flyk .\%1.scn if not "%2"=="" flyk .\%1.scn .\%2.spl pop goto end :usage echo. echo usage: nfly [video_mode] scene_file [spline_file] (no extensions) echo. echo video_mode is 'svga' or 'ntsc' :end