By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,747 Members | 1,701 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,747 IT Pros & Developers. It's quick & easy.

Join 2 files

P: n/a
Hi

I am trying to create a self extracting zip file ( on my Linux web server )
that will ultimately run on a windows OS.

Research to date indicates that I need to create a zip file and then join it
together with a win32 based sfx header stub ( which I have ).

The resulting file can then be run on a windows OS, with the sfx stub
running first and extracting the data from the zip file.

Question is : how can I join the 2 files together into a new file ?

Regards
Dave
Jan 31 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
DaveO schrieb:
Hi

I am trying to create a self extracting zip file ( on my Linux web server )
that will ultimately run on a windows OS.

Research to date indicates that I need to create a zip file and then join it
together with a win32 based sfx header stub ( which I have ).

The resulting file can then be run on a windows OS, with the sfx stub
running first and extracting the data from the zip file.

Question is : how can I join the 2 files together into a new file ?
You could use the zip command via exec. For details see the manpage of
zip: http://www.linuxcommand.org/man_pages/zip1.html

hth, Roy

--
Roy Kaldung
roy {at} kaldung {dot} com
http://kaldung.com/
Jan 31 '07 #2

P: n/a
DaveO wrote:
Question is : how can I join the 2 files together into a new file ?
Google: "man cat"

cat file1 file2 >outfile

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/CSS/Javascript/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!
Feb 1 '07 #3

P: n/a
DaveO wrote:
I am trying to create a self extracting zip file ( on my Linux web server )
that will ultimately run on a windows OS.
PS: Windows XP has unzipping capabilities built into it. XP market share
within the Windows market is at about 85-90%.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/CSS/Javascript/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!
Feb 1 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.