@echo off rem rem Windows XP or later - DNH - DAMTP - 10th August 2006 rem For CCATSL Version 22a or later rem rem ===================================================================== rem Start the emacs editor for CCATSL programming. rem rem You can create a link to this file on your desktop, or in your rem Start Menu folder. Make sure the "Start in:" folder is set to rem %CAT_ROOT%, where %CAT_ROOT% is the folder containing this file and rem also the folder named library. rem rem startup [init] rem ===================================================================== rem re-initialise registry if invoked with startup init set CAT_INIT= if "%1" == "init" set CAT_INIT=init set CCATSLVERSION=2.3b set CAT_PROJECTS=%USERPROFILE%\Documents\catam-projects rem can override defaults here: if exist setenv.bat call setenv.bat cd library if not exist catstart.bat goto error if .%OS% == .Windows_NT goto NT echo This version of CCATSL is for Windows XP or later. goto exit :NT catstart.bat echo Should not return here! goto exit :error echo Error in CCATSL.BAT: CCATSL is not installed correctly: echo %CAT_ROOT%\library\catstart.bat does not exist. echo Please report this error message to catam@maths.cam.ac.uk :exit