Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Find out type of file in Windows  (Read 3117 times)

0 Members and 1 Guest are viewing this topic.

vibhor_agarwalin

    Topic Starter


    Adviser

    Find out type of file in Windows
    « on: June 18, 2008, 04:34:47 AM »
    Hi,

    Analogous to the "file" command in Unix, how can i find out the same for Windows.

    Like x86, AMD64 or IA64

    Need not be a single command, i just want to know the file type.

    Thanks
    Vibhor Kumar Agarwal

    hmar



      Beginner

      Re: Find out type of file in Windows
      « Reply #1 on: June 18, 2008, 11:13:03 AM »
      x86, amd64 and ia64 are not file types, they are processors. Most intel processors are x86, amd64 is an amd 64 bit processor. File types are .exe .doc .xls etc.

      Dias de verano

      • Guest
      Re: Find out type of file in Windows
      « Reply #2 on: June 18, 2008, 11:47:57 AM »
      Windows is unlike Linux. It does not have file types in the same way. You can tell from the extension as hmar said.

      vibhor_agarwalin

        Topic Starter


        Adviser

        Re: Find out type of file in Windows
        « Reply #3 on: June 19, 2008, 02:08:54 AM »
        We are in the wrong directions  :P

        Basically the files that run on a x86 system will have that architecture.
        Same thing applies for AMD64 & IA64 as well.

        I want to find out a given file will run in which architecture?

        Lemme know in case of any confusions ...
        Vibhor Kumar Agarwal

        Dias de verano

        • Guest
        Re: Find out type of file in Windows
        « Reply #4 on: June 19, 2008, 02:51:44 AM »
        depends on OS.

        vibhor_agarwalin

          Topic Starter


          Adviser

          Re: Find out type of file in Windows
          « Reply #5 on: June 19, 2008, 04:13:46 AM »
          Yup,

          But an AMD64 machine can run an x86 file.
          Then how do i find out.
          Vibhor Kumar Agarwal

          Spoiler



            Specialist

            Thanked: 50
          • Experience: Beginner
          • OS: Windows XP
          Re: Find out type of file in Windows
          « Reply #6 on: June 19, 2008, 07:31:49 AM »
          Maybe this would be clear if you tell us what you are trying to do in detail.

          Whenever I watch TV and I see those poor starving kids all over the world, I can't help but cry. I mean I would love to be skinny like that, but not with all those flies and death and stuff." - Mariah Carey, Pop Singer

          Dias de verano

          • Guest
          Re: Find out type of file in Windows
          « Reply #7 on: June 19, 2008, 10:08:02 AM »
          I think he needs to type "executable file header" into Google.


          Spoiler



            Specialist

            Thanked: 50
          • Experience: Beginner
          • OS: Windows XP
          Re: Find out type of file in Windows
          « Reply #8 on: June 19, 2008, 11:14:11 AM »
          I think he needs to type "executable file header" into Google.




          Good call!

          http://support.microsoft.com/kb/65122

          Whenever I watch TV and I see those poor starving kids all over the world, I can't help but cry. I mean I would love to be skinny like that, but not with all those flies and death and stuff." - Mariah Carey, Pop Singer

          vibhor_agarwalin

            Topic Starter


            Adviser

            Re: Find out type of file in Windows
            « Reply #9 on: June 20, 2008, 03:31:51 AM »
            Basically i am trying to compile files for all 3 architectures.

            Just want to make sure i have done the right thing.
            Vibhor Kumar Agarwal