Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

split a .exe file

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi everybody !
Does anyone know if it's possible to split a .exe file in several files because it's too big to send ? Are there any software to do that on Solaris OS ?

Thanks a lot !
Goose... [bigears]
 
Should have elaborated there. Say you have a 4.5Mb file called file.exe. If you issue the command;

split -b 1000k file.exe file.exe.part.

you'll end up with;

file.exe.part.aa (1024K)
file.exe.part.ab (1024K)
file.exe.part.ac (1024K)
file.exe.part.ad (1024K)
file.exe.part.ae (Whatever's left)

plus your original file.

Greg.
 
thanks a lot for your answer...
Another questions :
how you restore the file in Solaris OS?
Is it possible in Windows OS?
 
In Solaris (or any *nix) I would do;

cat file.exe.part.aa file.exe.part.ab file.exe.part.ab file.exe.part.ad file.exe.part.ae > file.exe

In Windows, use the copy command. If it's a binary file, use copy /b. From your DOS window, do copy /? for a full list of options.

Greg.
 
snif, it doesn't work to recreate the file in windows when it has been cut in different parts on unix OS... I've tried with the copy /b option, with no option,... but the DOS doesn't recognize the kind of the file part and find no software to open it...
 
There most likely is a problem in the way you transfered the file to the Windows platform. Try ftp with binary mode to xfer the file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top