Change the WPS archive flag

[Autolink] Menu

The WPS archive flag is saved in the file \OS2\BOOT\ARCHBASE.$$$ at the offset 0xCF (Use 208 dec. for CharOut in REXX programs. This is necessary because REXX counts beginning with 1). To turn the ARCHIVE feature on, set this byte to 0x01; to turn it off set it to 0x00 (tested with OS/2 WARP and OS/2 WARP Connect, see example program below).

The name of the path for the archive is saved as ASCIIZ string in the same file at the offset 0x06 (use 7 dec for CharOut in REXX programs). The maximum length for the path is 200.
(see also Change the OS/2 recovery screen options)

Source: Peter Bunney (see EMail Addresses)