cgnsupdate.bat 320 B

123456789101112131415161718
  1. @echo off
  2. setlocal
  3. set dir=%~dps0
  4. if not exist %dir%cgnscheck.exe goto notfound
  5. rem -- for path setting to dlls
  6. if exist %dir%..\cgconfig.bat call %dir%..\cgconfig.bat
  7. if exist %dir%cgconfig.bat call %dir%cgconfig.bat
  8. %dir%cgnscheck -U %1 %2
  9. goto done
  10. :notfound
  11. echo cgnscheck.exe not found in %dir%
  12. :done
  13. endlocal