--convert-to is fuzzy match on extension? How to get a extract match?

Hi
I’m using windows command line tool to convert document:
soffice --convert-to doc *.doc --outdir ./ConvertedDOC

As the working directory also contains the docx files, but with above command, it also convert the docx file into doc. Is there any filter like regex match could help me to filter only convert the doc file and not include the docx? Thanks

NOTE: I have special needs to convert the doc to doc as my doc converted from ole files and cannot open via MS Office, so I use command line tool to convert it.

!Linux:

mv *.docx  subfolder/

Thanks for your response.
Yes, one option is to place the files with different extension separately in different folder then perform convert action.
Just curious about the command line if it support filter based on regex, like \.doc$. As the help page only given few sample: Starting LibreOffice Software With Parameters

Thanks again. Have a nice day.

Wondering… does it make a difference if you place all options before the input file list?
soffice --convert-to doc --outdir ./ConvertedDOC *.doc

Thanks for your suggestion, just test with new command, it still include the docx, no difference.

Just tried, it doesn’t for me (on Linux). Only .doc files are converted. But there the shell expands the file name pattern and passes all files to soffice, that might be different on Windows and the executable has to do that itself. If someone can reproduce I suggest to file a bug.

There is a old compatibility-layer in Windows, to hide long filenames from old applications. Maybe this was triggered and shows .doc / .docx in the same place.
Have to test this more, but I don’t think anybody would include fuzzy search at this place…