open

The open command specifies the path and file name of the application that AutoPlay runs when you insert the compact disc in a CD-ROM drive.

open=dir\filename.exe 
 

Parameters

dir\filename.exe
Path and file name of any executable file to run when the compact disc is inserted. If no path is specified, Windows looks for the file in the root directory on the compact disc. Specify a relative path to locate the file in a subdirectory.

Remarks

Use the open command to open a startup application that provides instant feedback to the user. For more information about startup applications, see Opening a Startup Application.

AutoPlay can pass command-line parameters to the application when it runs. Specify command line parameters after the file name.