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, 22.04.2013, 10:22

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

 

Complete thread:

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