You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
393 B
Batchfile

@echo off
setlocal
set dir=%~dps0
if not exist %dir%cgnsconvert.exe goto notfound
rem -- for path setting to dlls
if exist %dir%..\cgconfig.bat call %dir%..\cgconfig.bat
if exist %dir%cgconfig.bat call %dir%cgconfig.bat
set links=
if "%1" == "-links" (
set links=-l
shift
)
%dir%cgnsconvert -a %links% %1 %2
goto done
:notfound
echo cgnsconvert.exe not found in %dir%
:done
endlocal