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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Download dos pkzip files and windows

Status
Not open for further replies.

tsultana

Technical User
Aug 21, 2006
6
GB
I am running an old lab dos based software with pkzip as a back up utility within an windows95 os. We have opened a new office and wish to send the backup each night to the head office(windows xp home) to review the days activity. (This is a temp solution until new program has been selected, tried etc.) The prob that has arrived is that the disc when sent by windows cannot be opened. How can I send pkzip files downloaded from the lab program onto 1.4mb disc, via the internet and be able to upload them at head office onto 1.44mb discs still as pkzip files?
Help greatly appriciated.
 
Should be able to zip it locally and attach it to email, save it at the other end and unzip it.
Haven't done it for a while but can't remember any problems.
You might have to get into command on the XP and use the same version unzipping as you used to zip.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
I get the idea, to open the attachment is fine, but to re zip it to make a 1.44mb disc I cant think how to do from command prompt, when the unzipped files are in windows. Having a windows directory will not work on the dos based program, so i need some how to get those rezipped files back into command. ----Thinking aloud, do you think its possible to copy files from c:\windows\*(zippedfiles)* to c:\ and then copy to a 1.44mb disc in a:drive to loose the windows directory?
 
I'm not following the thought process. Primarily because I've not had to think about it for a while.
I don't remember the syntax but it is something like
pkzip sourcefile destfile and the unzip is pkunzip sourcefile.
I've got an early version of pk on another machine here and I'll try it using some DOS as source and see what happens on XPH. But it will be later today or this evening. Duty calls.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
The confusion is probably the difference between

1) pkzip
2) winzip
3) XP zip - yes XP uses zip for compressed files

Install either pkzip or winzip. Do not use XP zip - only the later versions of S/W like the latest winzip or winrar can read that. If you send the zipped file which has been created by either pkzip or winzip or even the command line winzip utility (free download from winzip), then you should be able to copy it to floppy as long as everything conforms to the 8.3 naming convention. If it doesn't you tend to get odd problems.
 
to reinstall pkzip on dos the syntax is
pkzip\pkunzip -d a:data

This is what I want to do on a machine reading dos 6.2 only. However I need to send the files via a windows OS for obvious reasons, Are you saying XWB that I sould install pkzip on the receiving machine running windows XP and unzip the file sent from the sending machine running Windows 95(that has sent the data file by email) and then pkzip it again on the receiver so I can save it to disc and therefore transfere to the dos machine?

I am wondering whether the windows 95 is sending the file as pkzip dos file or converting it somehow to a windows file? or the xp is converting it to a windows file when asked to save it by outlook any thoughts on this?

I am in UK hence time delays
Thanks all/any contributors

 
Your original file is going to be filename.ext in original format. You'll change it to something else filename.zip in the conversion. It should transfer without problem as filename.zip. When you unzip it you should have your original filename.ext.
Haven't got to the testboarding yet. Maybe tonight.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Ok Ed

I can unzip ok in windows but do not know how to rezip it in the format that the dos prog uses?
 
You said, "I can unzip ok in windows but do not know how to rezip it in the format that the dos prog uses?". Presume you're referring to Windows 95 here...?

Make sure you have the same PKZIP.EXE file on the Windows machine as you have on the DOS machine. Place it in a directory on your Windows machine called, say, C:\ZIP and then for ease of use place your files to be zipped up in the same directory.

When you're ready to zip 'em up on the Windows machine, go to Start, Programs, MS-DOS Prompt and transfer into the ZIP directory. Then just run the same command line as you did when you originally made them on the DOS machine.

ROGER - G0AOZ.
 
AS promised I loaded pk on two systems, one DOS6.22 the other XPH.

On the DOS I have a directory \retro\data and storage at \temp

from zip directory I
pkzip c:\temp\retro.zip c:\retro\data\*.*
and end up with ]temp]retro.zip
reboot this dual boot system to get to SE and email the attachment to XPH.

On XPH I store the attachment in \temp then pkunzip using command mode. Looked at the text files and they transferred OK.
So it isn't a problem with the zip/unzip.
Time to go back to basics. the file being transferred is filename.zip and it is unzipped on the other end to multiple filename.ext assuming you have multiple files.
You can copy them to a floppy from there.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Need to get my head around this

Be in touch
 
If I remember right type

pkzip -?

should list all of your zip options. There is also an option for spanning multiple floppies.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top