Search code examples
windowscommand-promptfile-generation

Inf2Cat Operating Systems Parameter Invalid


I'm trying to generate a .cat file using Inf2Cat.exe. The problem is that I got an error saying: Operating Systems Parameter Invalid. I have followed instructions in Microsoft Inf2Cat and I obtained operating system version identifier from there. What is causing the problem and how to solve it? enter image description here

I've tried changing operating system parameter to any of the listed version identifier from Microsoft official documentations (The mentioned link) with no successfulness.


Solution

  • The command prompt does not treat spaces in file names as a part of the file name itself and cause the problem. So, the solution is to add the driver directory between a double quotation mark. Like this:enter image description here