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

Command line switches in XP

Status
Not open for further replies.

Tckazz

Technical User
Feb 19, 2002
17
US
I am attempting to run pkzip from a batch file like this:

pkzip -& A:mybackup *.*

(zip up the files in the current directory, across a spanned set of disks on the A: drive and name it mybackup.zip)

This works on my windows 98 machine fine.
When I run it on the computer with XP it is as the command switches are not there.
Everything after "pkzip" is not being acknowledged.
I have a friend with XP and it worked fine for him.
Any ideas what/where are the settings that I can set in XP to make the switches work.

Thanks in advance.
TC.
 
What version of PKZIP are you running? Old versions used -&. This is no longer necessary (v2.50)

pkzip -add a:\mybackup *.*

(actually there is a -Span option but it is on my default)
 
Am using pkzip version 2.04g.
Maybe I should try using a newer version of pkzip?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top