Please enable JavaScript to view this site.

A-Shell Development History

When copying from a device with the read-only flag set, the read-only bit will now be automatically cleared. This provides a work-around for a change in the behavior of COPY.LIT, starting in 3.1(121), whereby it started preserving the attributes of the copied file. In general this is desirable, but when copying files from a CD (which typically have the read-only bit set by the CD burning software), it can be a major annoyance.

To activate the feature for use with COPY.LIT for copying files from a CDROM drive, you don't have to do anything (other than update ASHW32 to at least this version). A-Shell will automatically detect that the source is a CDROM drive and auto-clear the read-only attribute.

To activate the feature for copying from some other kind of device that A-Shell does not automatically recognize, or when using XCALL MIAMEX, MX_COPYFILE,SRC,DST,FLAGS within your own programs with AMOS-style filespecs, you may need to specifically add the ,RO flag to the DEVICE definition for the source device, in the miame.ini, e.g.:

DEVICE=CDR0: D:\MYPATH\,RO    ; declare CDR0 as a read-only device

This will assure that A-Shell recognizes source files from CDR0: as being on a read-only device.

Note that appending the ",RO" flag to a DEVICE definition doesn't have any other effect, except to display "read only" next to it in the DEVTBL display.