7 Replies Latest reply: Nov 24, 2007 1:51 AM by madhu reddy RSS

How to Extract .CAR/SAR file in windows?

Afi C
Currently Being Moderated

HI guys,

 

I have always worked in unix level so I know how to extract in unix but this is my first time extracting .car/sar file in windows. I have downloaded files and SAPCAR utility. How Do I extract now?

 

Thanks,

  • Re: How to Extract .CAR/SAR file in windows?
    Joe Haynes
    Currently Being Moderated

    Just exit to the command prompt and execute the same commands (i.e. SAPCAR.EXE -xfv SAPEXAMPLE_00004.CAR).

     

    J. Haynes

  • Re: How to Extract .CAR/SAR file in windows?
    Venkata Ajai Kumar Balijireddi
    Currently Being Moderated

    hi,

    options known to the old CAR application.

     

    using absolute pathnames:

    If you create an archive with absolute pathnames the files will be

    extracted with exactly these pathnames! SAPCAR does not cut the first

    slash like the UNIX tool tar.

     

    specifying a list of archives for extracting/verifying/listing:

    Enclose the list with double quotes.

    If there is no whitespace in any archive path the list must be separated by

    space or comma; e.g.

       SAPCAR -xvf "ARCHIVE1.SAR ARCHIVE2.SAR"

    If at least one archive path contains whitespace the list must be comma

    separated; e.g.

       SAPCAR -xvf "ARCHIVE WITH BLANK.SAR, ARCHIVE.SAR, ARCHIVE2.SAR"

     

    specifying a single archive path containing whitespace:

    Enclose the archive name with double quotes.

    creating: You must not append a comma except it is part of the path; e.g.

       SAPCAR -cvf "ARCHIVE WITH BLANK.SAR" *

    extracting/verifying/listing: You must append a comma; e.g.

       SAPCAR -xvf "ARCHIVE WITH BLANK.SAR,"

     

    In order to extract/verify/list more than one archive using wildcards you

    have to quote the file name argument in order to bypass wildcard evaluation

    by the shell. So a call like

       SAPCAR -xvf K*.sar

    will result in only one archive beeing extracted,

    whereas

       SAPCAR -xvf "K*.sar"

    will have SAPCAR extracting all archives in the current directory that

    match the pattern "K*.sar".

     

    using A, T and X option:

    All entries in the specified files are treated relative to the current

    working directory unless the entry is an absolute pathname (in this case

    the relevant file will be archived with an absolute pathname).

    If you want to specify a directory path in these files use the slash ("/")

    as path delimiter.

    regards

    ajai

  • Re: How to Extract .CAR/SAR file in windows?
    Afi C
    Currently Being Moderated

    HI,

     

    It is required to login with <sid>adm in unix. In windows, I did not log in with any user and I was able to extract it.

     

    Thanks,

  • Re: How to Extract .CAR/SAR file in windows?
    Prashant Shukla
    Currently Being Moderated

    SAPCAR -xvf K*.sar

     

    This is enough.

    It is advisable to use SAPSID(adm) for logging to the application server .

     

    <b>Please Reward Points if find it useful.

     

    Thanks,

    Prashant.</b>

  • Re: How to Extract .CAR/SAR file in windows?
    madhu reddy
    Currently Being Moderated

    SAPKAR.CAR -xvf k*.car

Actions