Hi!

22-Май-2004 12:18 [EMAIL PROTECTED] (Aitor Santamar?a Merino) wrote to
[EMAIL PROTECTED]:

>>     How to overcome presence of APPEND? I mean, APPENDed names, probably,
>>may/should be ignored by ATTRIB?
ASM> APPEND will hook File Open, and with the /X modifier, also FindFirst and
ASM> Exec.
ASM> See for example the flags (B706h to get, B707h to set, both through BX):

     Where "see"? Which interrupt function?

ASM> Bitfields for APPEND state:
ASM> Bit(s)  Description     (Table 02980)
ASM> 0      set if APPEND enabled
ASM> 1-11   reserved
ASM> 12     (DOS 5.0) set if APPEND applies directory search even if a drive
ASM> has been specified
ASM> 13     set if /PATH flag active
ASM> 14     set if /E flag active (environment var APPEND exists)
ASM> 15     set if /X flag active
ASM> By default, APPEND (NT-APPEND and FD-APPEND) sets the flags 0,12,13 (and
ASM> 14 with /X). 13 can be modified through commandline.
ASM> So one option would be to disable 12 through the API, then invoke
ASM> FindFirst with "d:*.*", or the easiest, save, disable and restore the
ASM> flags.

     This is one way? There is not possible to disable APPEND while
searching files (and restore its state later)?




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id│66&op=click
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to