Put them in the same directory... they should be named "myscript" and "myscript.info" (or any other name of your choosing, but there must be a file and a file.info in the same directory).
Ed: alternatively, look at the Shell icon, "FROM=S:Shell-Startup" tooltype as an example of how to use a different file. (This might be restricted in how you can use it.)