I want to write a script that opens a file in Windows explorer (not just open and read it in cmd, I want it to properly open it like I double clicked it). My first thought was a batch file and it indeed worked, but batch files can be edited and read, and I don't want that. Most batch to .exe converters were marked as viruses so I abandoned the idea and thought of writing a C script and then convert to .exe with codeblocks.
The thing is, I don't know how to open a file in windows explorer from C. Any help would be appreciated!