• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
Microsoft Windows 11

Trying to extract files from sp133004.exe with the command  sp133004.exe -pdf -fC:\SWSetup\sp133004 -s

ad there seems to be a syntax error. Help?

 

4 REPLIES 4
HP Recommended

Hi @BobChe 

 

I recommend using WinZip or 7-zip and then extract the file.

 

 

- if I can help solve your question or issue, please click on ACCEPT AS SOLUTION or click the YES button if my answer was helpful.
HP Recommended

I keep getting usage help on yhe screen with that line but if I use: sp133004.exe /e/fD:\SWSetup\sp133004 /s

the/f parameter is ignored and it is place on the C drive

HP Recommended

Well I finally found what works on my system, it is a combination of switch control:

This did not work:

sp133004.exe -pdf -fD:\SWSetup\sp133004 -s

This works perfectly:

sp133004.exe /e -fD:\SWSetup\sp133004 /s

Thanks for the help

HP Recommended

I finally got it to work here is my solution to automatically extract multiple softpaqs to a folder:

Rem ===================================

chdir /d D:\SoftpaqFiles

setlocal enableDelayedExpansion
set /a ID=1

for /f "delims=" %%G in ('dir *.exe /b') do (
set filename[!ID!]=%%~G

rem set temp=%%~nG
rem echo %temp%

%%~G -e -fD:\SWSetup\%%~nG -s

set /a ID+=1
echo %ID%
)
set filename

endlocal

Rem ======================================

 

Thanks for all the replies

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.