Thread: Decode windows .dat file

  1. #1
    Registered User
    Join Date
    Oct 2013
    Location
    Midrand Gauteng South Africa
    Posts
    27

    Decode windows .dat file

    I have received a file from a Windows server that in Linux hexedit shows the following first few characters.
    AA 18 3C 2B 60 56 03 00 00 01 01 00
    The Windows program may have received this via RS232.
    I need to "understand" this on a Linux machine.
    Please suggest where I may start decoding this?

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Also asked here, fyi.

    You need to search whether the first 1-8 bytes are any known file signature. Most binary file formats put their sigs right at the beginning. If it isn't any, oh well...
    Devoted my life to programming...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Encode/Decode existing exe-file
    By atztek in forum C Programming
    Replies: 7
    Last Post: 12-29-2014, 03:37 PM
  2. decode isbn help
    By Thegame16 in forum C Programming
    Replies: 22
    Last Post: 02-14-2011, 11:12 PM
  3. File I/O Encode & Decode with XOR
    By DarrenY in forum C# Programming
    Replies: 2
    Last Post: 04-12-2007, 04:31 AM
  4. Replies: 4
    Last Post: 01-03-2006, 03:02 AM
  5. getuid to decode uid ?
    By iain in forum Linux Programming
    Replies: 1
    Last Post: 11-27-2002, 03:36 PM