Easier way to extract .SAR and .CAR files with SAPCAR under Windows

We all know that there is no GUI for SAPCAR so far.
It would be a lot easier if there was a DLL library or so, to write a program GUI.


I found out some people made this thing working with manipulating the registry.
Well it is OK, but I found a easy & better solution for me:

1. Get SAPCAR.EXE and put it in c:\windows\system32 (or any other folder that persists in the default windows paths)

2. In the same folder make a file SAPCAR_e.BAT with the following contents:
SAPCAR.EXE -xvf %~sf1

3. You are ready, all you have to do is make CAR and SAR files open by SAPCAR_e.BAT.
Right click on such a file and set that in the Properties window.

Result: Now when you double click a SAR/CAR file it will extract in the same folder

Advantage: If you want to upgrade SAPCAR all you have to do is replace the SAPCAR.EXE in c:\windows\system32

More: In SAPCAR_e.BAT you can put:
SAPCAR.EXE -xvf %1,
This (,) tells SAPCAR that there are possible whitespaces in the filename/filepath

In the other case
SAPCAR.EXE -xvf %~sf1
It asures that the given filepath to SAPCAR is 8.3 compatible

Even more: Check out this program:

No comments:

Post a Comment