Excecuting CPIO in windows 2000 via DOS

I am currently trying to extract a cpio file from a Dos shell within windows 2000. This file is coming from a Unix environment.

The line I want to execute is
   cpio -icvBdmu < filename.cpio

I have downloaded an application called UnixDos which executes unix commands from within Windows 2000. However, this does not allow you to pass the switch B to the command CPIO. Therefore I could only use:

   cpio -icvdmu < filename.cpio

When executed the following erros message "Out of Phase -- reading next block" continuously repeats until I break out of it. The UnixDos does not seem to refer how you can set Block size to XXXX anywhere.

My question is does anyone know what is the best way to extract a cpio file in windows? Is it possible to pass the above switches?
CanManiaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GnsCommented:
Cygwin. Get it from http://www.cygwin.com
It includes, amongst many nifty features, cpio.
You will be able to use both -B and --block-size= syntax:-).

-- Glenn
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CanManiaAuthor Commented:
Thanks Glenn for that, will try it out and get back to you.
Canice
0
CanManiaAuthor Commented:
Glenn,

I have installed this application and have it working.

The only problem I am having is that the file I am trying to extract is over 1GB and the CPU usage maxed out.

thanks
Canice
0
GnsCommented:
I don't know if the "nice" utility have any effect under cygwin, but you could always try it:-).
r just live with it:-).

-- Glenn
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.