In your subject line you say you want to run an exe or batch file when a FOLDER is opened.
In your post you say you want to run an exe or batch file when a FILE is opened.
Can you tell WHAT you want, with an appropiate example?
I want to run an exe or batch file at opening of a file.
It is similar to insert a game or software cd into cd drive and the exe will run automatically.
Can any one help me ?