Hi,
I've created an MS Windows batch file called 'relax.bat' within the relax base directory (see the 1.2 line by browsing the subversion repository from https://gna.org/projects/relax/). If both relax and python are located on the system path then relax can be run from any location within the command prompt by typing 'relax'. All the options are then passed to the program.
The 'relax.bat' file creation was mentioned in the post https://mail.gna.org/public/relax-users/2006-09/msg00001.html (Message-id: <7f080ed10609010347r3f5fdc01mdb5b0b61bc883feb@xxxxxxxxxxxxxx>). The details of the implementation can be found at https://mail.gna.org/public/relax-commits/2006-09/msg00020.html (Message-id: <E1GNkNm-00023d-TB@xxxxxxxxxxxxxxxxxx>) and https://mail.gna.org/public/relax-commits/2006-09/msg00021.html (Message-id: <E1GNkfN-0003Vw-0u@xxxxxxxxxxxxxxxxxx>).
The only problem with this batch file is the [Ctrl-C] or [Ctrl-Break] key combinations. Python handles these correctly. However this will cause the cmd.exe message "Terminate batch job (Y/N)?" to be asked after relax terminates. Does anyone know advanced batch programming and know how to suppress this question?
Thanks,
Edward