Next: , Previous: , Up: Running REDUCE in an Emacs window   [Contents][Index]


14.3 Running REDUCE on Microsoft Windows

On Microsoft Windows, the REDUCE installer does not add the REDUCE executable folder to your path, so you can run REDUCE only via absolute pathnames, which is what the shortcuts added to the Start menu do. Therefore, REDUCE Run mode also uses absolute pathnames if it can find them, which it does by looking for the installation directory \Program Files\Reduce\ in all local drives. It uses relative batch file names if it fails to determine the absolute pathnames, but this will work only if you have added the REDUCE executable folder to your path yourself.

If PSL REDUCE on Windows is run directly via the standard batch file redpsl.bat it is unable to load any packages (or modules). The workaround that I use is to run PSL REDUCE indirectly via a batch file called reduce-run-redpsl.bat, which then runs redpsl.bat. (I don’t understand why this works, but it does!) When reduce-run is loaded, it attempts to create reduce-run-redpsl.bat in the same folder as reduce-run, and if that is successful then it automatically configures the default value of reduce-run-commands to use reduce-run-redpsl.bat to run PSL REDUCE. Provided this all works, PSL REDUCE should run as you would expect. There is no problem running CSL REDUCE via the standard batch file redcsl.bat.

You can customize the values of the options reduce-run-MSWin-drives, reduce-run-installation-directory and reduce-run-commands (see the next section) if the default values are not correct. For example, if REDUCE is installed on a remote drive then make that the sole entry in reduce-run-MSWin-drives.


Next: Running, re-running and switching to REDUCE, Previous: Installation of REDUCE Run mode, Up: Running REDUCE in an Emacs window   [Contents][Index]