If I have an archive, for example,
some.zip that contains one or more files, how can I extract only one file (I know the name of the file) with 7-Zip from the command line in Windows?
You just add the filename at the end.
As a follow-up to surfasb's answer, add a -r flag at the end to recurse:
Multiple filters support:
Multiple filters command line:
PS: I use 7za.exe instead of 7z.exe. This is the actual command I use in my script: