Is there a simple way to open a file by its associated program in windows? (like double clicking it in windows explorer but done automatically with my code)
For exam
If lpFile specifies a document file, the flag is simply passed to the associated application
So you need to substitute "c:\\windows\\notepad.exe" with the actual file you want to open and leave lpParameters null.
"c:\\windows\\notepad.exe"
lpParameters