Author: bugman Date: Thu Sep 14 08:25:40 2006 New Revision: 2560 URL: http://svn.gna.org/viewcvs/relax?rev=2560&view=rev Log: Added a few comments to the Windows batch file and added the clear screen command 'cls'. Modified: 1.2/relax.bat Modified: 1.2/relax.bat URL: http://svn.gna.org/viewcvs/relax/1.2/relax.bat?rev=2560&r1=2559&r2=2560&view=diff ============================================================================== --- 1.2/relax.bat (original) +++ 1.2/relax.bat Thu Sep 14 08:25:40 2006 @@ -8,4 +8,13 @@ REM variable and add the text ";C:\Program Files\Python24;C:\relax" to the end REM of variable value field (modify the text to point to the correct location). -python %~dp0%0 %* +REM Catch [Ctrl-C] and exit without asking "Terminate batch job (Y/N)?". +REM on break quit + +REM Clear the screen. +cls + +REM Run relax using python. %~dp0 will expand to the path where relax is found +REM and %0 is simply 'relax'. %* will send all the remaining arguments to +REM relax. +python %~dp0%0 %*