How to autorun documents hassle-free?ġst AutoRun Express allows you to autorun any DOC, HTML, PDF or PPT file with a few clicks, without any design or programming required. There is no way to check if, for example, DOC file can be opened.Īnother problem is that you can not start more than one document on CD insertion. If you use shellexecute to autorun documents you can not ensure that user will have the appropriate software to read yourĭocument on their computers. To autorun a document instead of a program, you should use shellexecute command instead of open command. Learn more details about AUTORUN.INF How to autorun documents with Autorun.inf?
Also it specifies that Windows should use first iconįrom Setup.exe to display this CD in Explorer. This sample AUTORUN.INF file tells Windows to run Setup.exe program located Take a look at the following sample AUTORUN.INF file: If AUTORUN.INF is found, then Windowsįollows the instructions in this file to run a program.
When you insert a CD into the computer, Windows looks if AUTORUN.INF file Autorun.inf - autorun HTML, PDF, PPT, DOC and more Autorun.inf - what is inside?