Results 1 to 3 of 3

Thread: Split binary files

  1. #1

    Thread Starter
    Fanatic Member pradeepkrao's Avatar
    Join Date
    Sep 2001
    Location
    New Jersey
    Posts
    534

    Split binary files

    Hi,

    I have a unzip utility. I have a zip file.
    I need to combine them and make a selfextracting file..

    I have used the command

    copy /b unzip.exe + test.zip test.zip.exe

    The files are copied and made as tezt.zip.exe, which is a valid exe.

    Now I have to split them back as unzip.exe and test.zip.
    How do I do that ?.

    [Note:
    I wont know the size of unzip.exe as it will be not be present when i give this test.zip.exe to other person.
    ]

    Any help is appreciated.

    Thanks,
    Pradeep
    Learn by others experience as you cannot live long to experience them all.
    www.freewebs.com/pradeepkrao

    LOOK AT MY GAMES AT MY WEB SITE.

  2. #2
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    I'm missing something here.

    Most of the compression software lets you create a self-extracting zip, even zlib can do this, as I remember. Why don't you let the software do it so the checksums aren't screwed up?

  3. #3

    Thread Starter
    Fanatic Member pradeepkrao's Avatar
    Join Date
    Sep 2001
    Location
    New Jersey
    Posts
    534

    Hi

    Hi,

    Well I have done it... now..

    this is my file

    ((unzip utility)(zip file)).exe

    now my unzip code extracts the zip file to a tmp file and then uses a system command to run it self with the zip file.

    its working fine now..

    Thanks,
    Pradeep
    Learn by others experience as you cannot live long to experience them all.
    www.freewebs.com/pradeepkrao

    LOOK AT MY GAMES AT MY WEB SITE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width