Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

PKZIP 2.04 Error Message: What did I do wrong? (Users)

posted by glennmcc Homepage E-mail, North Jackson, Ohio (USA), 23.04.2013, 00:20

> > > > So, unless there's a work-around for the '&',
> > > > it appears that DOS pkzip will not work in the NTVDM for spanning
> > > > diskettes.
> > >
> > > Quoting
> > >
> >
> Microsoft
> > > Windows XP - Command shell overview: The ampersand (&), pipe
> > (|),
> > > and parentheses ( ) are special characters that must be preceded by
> the
> > > escape character (^) or quotation marks when you pass them as
> > > arguments.

> >
> >
> > Ah ha... so, the solution seems to be....
> >
> > pkzip.exe a:\ws4t1910.zip d:\wp\ws4\*.* -^&rP
> >
> > or
>
> No "or" here. ;)
>
> >
> > pkzip.exe "a:\ws4t1910.zip d:\wp\ws4\*.* -&rP"
>
> This will make argv[1]=a:\ws4t1910.zip d:\wp\ws4\*.* -&rP
> i.e. the whole thing in quotation, which most programs dislike.

OK then, _just_ the "-&rP" portion in quotes like so ?

pkzip.exe a:\ws4t1910.zip d:\wp\ws4\*.* "-&rP"

---
--
http://glennmcc.org/

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum