I'm building an HTML Editor and have created a function that uses CreateProcess

to open the browser. Is there any way to make the browser automatically open

whatever file is open in the editor?