Kindly suggest if there is an easier way. SAPCAR tool also gives the same result.
sapcar -xvf "ka*.car"
If you do not use quotes sapcar will not be able to process the files.
Alternatively you can use the "FOR" command to loop through all the .CAR files and invoke SAPCAR with parameters -XVF. In a nutshell, here is the syntax you need:
for /f %i in ('dir tmpKA*.car /b') do sapcar -xvf tmp%i
The example above assumes that you have placed all the archived files (KA*) under the "tmp" directory.
My advice is to create a batch file that does this for you. I included in my last book and CD-ROM (SAP Basis Administration for Windows) a batch file called SPX.bat, which can be used to decompress support packages. You manipulate the support package name with a variable in the script. It displays the support package file name, decompresses it and it counts the total of processed files.
Dig deeper on SAP Basis administration and NetWeaver administration
Related Q&A from Giovanni Davila
Learn how to transfer a client from one server to another in this administration tip from Basis guru Giovanni Davila.continue reading
Read expert advice on implementing an SSO solution for SAP in this expert tip from Giovanni Davila.continue reading
Learn how to return a list of 1,000 transport requests in SAP R/3 PRD in this tip from SearchSAP.com's Basis expert.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.