Q. How can I install a .inf file from the command line?

Learn how to install a .inf file from the command line.

John Savill

March 4, 1999

1 Min Read
Q. How can I install a .inf file from the command line?

A. The normal method to install a .inf file is to right click on it and select Install from the context menu. However, it's also possible to install from the command line. The syntax is:

C:> rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 ..inf

 

To learn more, visit "Windows Autorun.Inf Vulnerability" and "Q: When you right click on an INF file, the Install option is not listed?"

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like