Consequently, the compiler can be run directly off of the CD without any need for an install. Just run the programs in \dm\bin. This is most convenient for cases where a particular version of the compiler is needed, or to just try it out.
But of course, running off the CD can be a little slow. The solution is to xcopy the entire disk to the hard disk, as in:
xcopy g:\*.*/s c:to duplicate it on drive C. Then, append:
c:\dm\binto the PATH environment setting.
Copying the files to the hard disk in this manner from the CD can result in them all being marked as read-only. Therefore, in order for the IDDE to be able to change its settings, the following files must have the read-only attribute turned off. The \dm\bin\chmod.exe program will do the trick:
\dm\bin\chmod -R \dm\bin\brow32.ini \dm\bin\chmod -R \dm\bin\scw.ini \dm\bin\chmod -R \dm\bin\scw32.cfg
We recommend backing up the Digital Mars CD on the hard disk, or duplicating it onto another CD with a CDROM burner. This is for backup purposes only, however!