Re: Where's the auto-insert on/off option for cdrom's

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Greg Stigers (gregstigers_at_spamcop.net)
Date: 04/13/04

  • Next message: Greg Stigers: "Re: can't copy files from newly added workstation - "path too deep""
    Date: Tue, 13 Apr 2004 17:10:58 -0400
    
    

    As I read the article, you would set individual bits, one per drive. The
    first (right-most) bit is for drive A, the second for B, and the
    twenty-second bit for drive W. Note that while this value can be 32 bits,
    the highest six are all zero. The Windows calculator is priceless for this,
    if you want to look but not touch. Run it, then, from the View menu, choose
    Scientific. This allows conversion between Hex, Decimal, Octal, and Binary,
    using F5 thru F8. However, Regedt32 actually lets you view this in binary,
    unlike RegEdit, which is cool, so long as you don't mistype. But apparently
    it can use fewer bits than 32 or 26. This system currently only uses 8 bits.
    Since you have a drive W, yours should list more bit, at least 24, I would
    guess.

    To turn off auto insert on just drive W, you want a bit mask of
    11101111111111111111111111, which is 0x3BFFFFF, or decimal 62914559. See,
    the bits are like any other numbers (barring any discussion of big endian
    and little endian arguments, which were more interesting in Gulliver's
    Travels than they are for this discussion), with the lowest "place" at the
    right. So, the first bit represents Z, the second Y, and fourth from the
    right, the twenty-second from the left, W.

    If you want to play with this safely, and aren't comfortable with RegEdt32,
    just paste that value into the Windows calculator in binary mode (F8), the
    convert to hex (F5), and there you are. In fact, I lifted the bit map by
    taking the hex value 3FFFFFF from the article, pasting it into the
    calculator, and converting to binary, which is just twenty-six bits, all
    ones. I then copied it into notepad, and change the bit for W, pasted back
    into calculator, and converted to hex.

    -- 
    Greg Stigers, MCSA
    this space for rent
    

  • Next message: Greg Stigers: "Re: can't copy files from newly added workstation - "path too deep""

    Relevant Pages

    • Re: All X0D lost during reading line sequential file using microfocus se
      ... On Jul 30, 2:37 pm, "Pete Dashwood" ... Maybe I should change the DB codepage? ... then I think you need to be VERY careful of your "conversion" ... stream from the Hex, ...
      (comp.lang.cobol)
    • Re: Hex to Binary Conversion
      ... I have an array of hex bytes. ... The conversion itself depends on exactly what you mean, as well as in what order the bytes are provided. ... complement of it ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: how to convert very large number to hex string
      ... You need to write your own arbitrary-precision integer arithmetic routines. ... Conversion to hex is easy. ... Conversion to decimal is more difficult. ... You need to calculate modulus ten and then ...
      (comp.lang.c)
    • Re: Hex to floating point
      ... ...and I understand hex and its conversion way better. ... David ... > function to convert hex to floating point. ...
      (comp.lang.php)
    • Re: How to enter 0x10 in registry DWORD?
      ... It is my understanding that the prefix 0x denotes hex. ... into the Value data box in the Edit DWORD Value dialog. ... Ken Blake - Microsoft MVP Windows: ... Open the Windows Calculator. ...
      (microsoft.public.windowsxp.configuration_manage)