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 roytam(R), 23.04.2013, 10:08

> > > > > 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"

I think this will work, haven't tested though.

 

Complete thread:

Back to the forum
Board view  Mix view
15157 Postings in 1361 Threads, 250 registered users, 9 users online (0 registered, 9 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum