Thread: .dat file splitter

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    8

    .dat file splitter

    tried looking for these sort of freeware on the net, but found nothing so i'm here to ask for some help. does anyone know how to split up a .dat file into its original parts? for example, the .dat i want to split up consists of multiple .avis, and i want to split them up so that i can view each avi individually in a media player. the .dat file cant be viewed on a media player. Can anyone help? thanks

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Find the file format for the AVI and then remove the data you want. You will have to know how the AVIs are stored in the dat file. Most of the time they start with a file header then move to a chunk header followed by chunk data, followed by chunk header, etc...

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    It's also possible that this .dat file is just a zip/rar renamed to have a .dat extention.

  4. #4
    Registered User
    Join Date
    Mar 2005
    Posts
    8
    tried renaming it, but my extractors dont recognise it, so i guess it's a .dat

  5. #5
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Look at the file. If it begins with "RAR!", then it's a RAR file.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  2. To find the memory leaks without using any tools
    By asadullah in forum C Programming
    Replies: 2
    Last Post: 05-12-2008, 07:54 AM
  3. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 10:46 AM
  4. Simple File encryption
    By caroundw5h in forum C Programming
    Replies: 2
    Last Post: 10-13-2004, 10:51 PM
  5. how to convert a text file to a .dat file
    By Linette in forum C++ Programming
    Replies: 11
    Last Post: 02-25-2002, 05:58 AM