[<<]Message[>>]    [<<]Author[>>]        Subject            Thread    

Number : 281 Date : 2001-06-24 Author : Kan Yabumoto Subject : Corrections of my earlier messages Size(KB) : 2
Let me correct errors in my earlier messages posted in this group. In my earlier post (Msg #260) ------------------------------------------------------ Gabe's original command line had both /H0 and /ATH. /ATH is synonymous to /H. Therefore /H0/ATH is the same as /H0/H which can be specified simply by /H. The /AT switch was added as a generalized scheme to handle any combination of attribute-based file selection. If the H-bit (hidden attribute) is the only concern here, /H is simpler and quite intuitive as well. ------------------------------------------------------ This was quite wrong and I tried to correct myself. In Msg #267 I made the following (misleading) statement: ================================================================ Let me correct my mistake in my own explanation in my Msg #260 with regard to the relationship to /ATH and /H. I picked the wrong switch. /ATH is not the same as /H. -------------------------------------------------------------- /ATH excludes the files which do not have the H-bit set. /Ho (exactly the same as /ATH) /H excludes nothing cancelling /H0 (which excludes hidden files) ------------------------------------------------------------------- =================================================================== This was not 100% correct either. So, let me offer my 2nd attempt to explain this. The three hidden file-related switches can be substituted by combinations of /AT and /AX as follows: /H0 (default value) is equivalent to /AXH/AXS /H (regular switch to include hidden and system files) /Ho (hidden only) is equivalent to /ATHS My earlier statement which said "/Ho is exactly the same as /ATH" forgot the fact that these switches are affected by the System file attributes in addition to the Hidden file attribute. /AXH is to exclude the files whose Hidden file attribute is set. /AXS is to exclude the files whose System file attribute is set. By combining these two, it reads "the /H0 switch excludes when H-bit is set and also when S-bit is set. (/AXHS would exclude files whose H-bit and S-bit are both set.) /ATHS is to select files with either H or S bits set (in other word, this switch excludes files if both H-bit and S-bit are 0). This is how the /Ho switch behaves. Sorry for the confusion (I was confused, too). Kan Yabumoto =================================================================
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.