@rpm2cpio %1 | cpio -id --preserve-modification-time --verbose --unconditional -D %2 rem This allows for the extraction of rpm archives with relative paths from the archive container rem the latest archiver.bb2 must be installed. If you wish to change the command line feel free rem %1 id the rpm file name %2 is the target directory. This file is installed as part of FM2. rem rem if there's an error or user abort, pause the display so the user rem can see what's happened. rem IF ERRORLEVEL == 1 PAUSE