Here is one that I have used a few times and never remember so I alway have to search for it. The below steps will take a Microsoft Service Pack file and extract it into a folder in case only certain files are needed.

xpsp2.exe -x: c:sp2
Press ENTER

This will extract the Service Pack files to a folder at the root of the c drive called “sp2”.

I my example I used SP@ but you can use any service pack.

Hope it helps.