Skip to Content
avatar image
Former Member

How to Extract .CAR/SAR file in windows?

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,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 13, 2007 at 09:02 PM

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

    J. Haynes

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 15, 2007 at 06:09 PM

    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,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI,

      Can you suggest how you got executable file from .SAR using SAPCAR command in windows?

      when using below command

      sapcar -xvf <filename.SAR> in command prompt after going to required path

      I get below

      off cd <pathname> sapcar -xvf -xvf pause

      but files are not extracted.

      Any help will be greatly appreciated.

      Regards,

      Neha

  • avatar image
    Former Member
    Nov 19, 2007 at 08:10 AM

    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>

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 24, 2007 at 12:51 AM

    SAPKAR.CAR -xvf k*.car

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 14, 2007 at 04:40 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 21, 2016 at 04:15 AM

    Hi

    Could anyone guide with the steps to extract the SAR file using SAP CAR utility in Windows OS. The above mentioned steps did not work out in extracting the SAR file.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded