Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Microsoft exe and MZ

Microsoft exe and MZ

Scheduled Pinned Locked Moved System Admin
question
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    John Wheater
    wrote on last edited by
    #1

    I notice that (in Win200 at least) the check on the 1st 2 bytes of an exe being 'MZ' does not take place. Anything known?

    V 1 Reply Last reply
    0
    • J John Wheater

      I notice that (in Win200 at least) the check on the 1st 2 bytes of an exe being 'MZ' does not take place. Anything known?

      V Offline
      V Offline
      Venet
      wrote on last edited by
      #2

      It does on my win2k machine. I just changed MZ header and file turned into MS-DOS executable. .EXE files on windows are PE files and therefore should adhere to the standard specified. :) Regards, Venet. -------- Black holes are where God divided by zero.(Steven Wright)

      J 1 Reply Last reply
      0
      • V Venet

        It does on my win2k machine. I just changed MZ header and file turned into MS-DOS executable. .EXE files on windows are PE files and therefore should adhere to the standard specified. :) Regards, Venet. -------- Black holes are where God divided by zero.(Steven Wright)

        J Offline
        J Offline
        John Wheater
        wrote on last edited by
        #3

        Venet, thanks, but what I meant was that if you change the MZ (which appears in all exes) to, say, XX, then it still runs. There was a time when the OS complained if this signature was not present.

        V 1 Reply Last reply
        0
        • J John Wheater

          Venet, thanks, but what I meant was that if you change the MZ (which appears in all exes) to, say, XX, then it still runs. There was a time when the OS complained if this signature was not present.

          V Offline
          V Offline
          Venet
          wrote on last edited by
          #4

          Sorry for misunderstanding. John Wheater wrote: There was a time when the OS complained if this signature was not present. What OS was this ? Regards, Venet. -------- Black holes are where God divided by zero.(Steven Wright)

          J 1 Reply Last reply
          0
          • V Venet

            Sorry for misunderstanding. John Wheater wrote: There was a time when the OS complained if this signature was not present. What OS was this ? Regards, Venet. -------- Black holes are where God divided by zero.(Steven Wright)

            J Offline
            J Offline
            John Wheater
            wrote on last edited by
            #5

            Not really an OS, rather DOS

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups