Forum Home
Press F1
 
Thread ID: 9725 2001-06-12 09:03:00 Batch file from c:\ to e:\ drive Guest (0) Press F1
Post ID Timestamp Content User
14013 2001-06-12 09:03:00 Im getting stuck,

Thanks to HTH for your batch file advise, but Im stuck.
I want to transfer from C drive to E drive ( a Zip100 ) using this command line

C:\PKZIP\PKZIP -arp e:\10amzip\1CMR.zip :\1CMR\*.*

But it wont work.

What am I doing wrong?

Thanks in anticipation.

John
jhw@xtra.co.nz
Guest (0)
14014 2001-06-12 14:40:00 The command line you are using is to zip the contents od 1cmr.zip (again) Not tranfer the file from c: e: !

If you would like to extract 1CMR.zip the command line would need to be pkunzip and written along the line of

location of pkunzip_ file to extract_location to extreact to..ie
c:\pkzip\pkunzip c:\1cmr.zip e:\1CMR\
but 1st the destination folder will need to be created. in dos this is done by using the md command. Ie
e: <enter>
e:\>md 1cmr <enter>

To make things simpler you could consider using a product such as winzip (www.winzip.com)..

if you just wish to transfer the file you can do this either in dos or in windows itself.
In dos this is done via the Move command simmilar to the pkunzip command
move_what file_to where
ie move c:\1cmr.zip e:\1CMR\

Jess
Guest (0)
14015 2001-06-12 22:40:00 You have omitted the c drive letter from the source, and if the source contains subdirectories use a single * not *.*
Otherwise this should work.
My comments are based on v2.5 of pkzip.
Guest (0)
1