473,410 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

Join 2 files

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
3 1734
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Shmulik | last post by:
I have a table: MasterFileID FileName ParentID 1 Hello <null> 2 World 1 3 Another <null> 4 Again 1
7
by: Newbillian | last post by:
Is there some way of using vba to automate the processe of joining an Access 97 security workgroup? I typed wrkgadm /? at a command prompt and it just opens the gui, so I'm not sure what the...
0
by: steve | last post by:
Hi there, I am trying to import data from 2 dbf files into excel using the 'get external data' option which launches ms query. Ultimately I am merging data with a right join statement. I can...
5
by: rosli bakar | last post by:
I'm quite new to VB and need help urgently . I have 2 Access database files which need to connected/join to each other. Database file 1 is in c:\dha\ABC.mdb table: LogAlarm Work Week | Alarm...
0
by: SamIAm | last post by:
Hi I have the following in my web.config to specify that all my pages require authorization: <authentication mode="Forms"> <forms loginUrl="Login.aspx" timeout="60" path="/">
33
by: Steve | last post by:
One of our clients recently upgraded their Office version to 2003. When they tried to run our program (written in Access 2000), they ended up with the wrong data. My coworker and I have tested this...
9
by: Fish Womper | last post by:
I am at best a part time developer of Access databases. I use Access 2.0, as this is all my employer has on its computers. Even so, to use this ancient version requires a fairly convoluted...
2
by: Paul Scott | last post by:
Today, I needed to concatenate a bunch of directory paths and files together based on user input to create file paths. I achieved this through nested os.path.join()'s which I am unsure if this is a...
0
by: noob2001204 | last post by:
http://www.mediafire.com/?jzw2t5uzznn i used replay media catcher to capture a track from Deezer.com Deezer use new technique to split song into 400kb chunks and store them into their streaming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.