get -u grabres.bat @echo off echo. echo grabres.bat echo. rem ********************************************************************** rem * Get resource source files from the source server mounted on S: and rem * put them in the right local directories which must already exist. rem * video and sound bank files are always copied because they aren't rem * under source code control. PVCS parameters can be supplied on the rem * command line, ie: grabres -u or grabres -y -u. rem * BEWARE of the -y option as if you have any of the resource files rem * checked out they will get clobbered. rem * NOTE the video and audio copies are at the end of this file so you rem * can skip them with a control-C if you don't want them updated. rem * Greg Corson 6/7/95 Ken Olsen 6/9/95 rem * NOTE: Will not run if NW client installed GDU 4/25/96 rem ********************************************************************** if "%1"=="-h" goto Usage set g0=-a if "%1"=="-u" set g0=-u if "%2"=="-u" set g0=-u if "%3"=="-u" set g0=-u if "%4"=="-u" set g0=-u echo on cd audio get %1 %2 %3 %4 *.??v cd ..\maps get %1 %2 %3 %4 *.??v cd ..\models get %1 %2 %3 %4 *.??v cd ..\solids get %1 %2 %3 %4 *.??v cd ..\gauge get %1 %2 %3 %4 *.??v cd ..\anims get %1 %2 %3 %4 *.??v cd .. get %1 %2 %3 %4 *.??v call getvid.bat %g0% call getaud.bat %g0% @echo off if exist clnvid.bat clnvid.bat %g0% set g0= goto End :Usage echo. echo usage: grabres [PVCS get switches] echo no switches does absolute get echo -u updates newer only (based on file dates) echo -y answers yes to all prompts USE WITH CAUTION! echo -h display command line options (this message) echo. goto End :End