Alright, there is obviously something that I am missing here . . . but a while of experimenting and searching this forum have not helped.
Basically, all I want to do is open a map by using "Run".
I want it to open in StarEdit.exe.
Therefore, I naturally assumed that I should call it as
CODE
"C:\Program Files\Starcraft\StarEdit.exe" "C:\myDirectory\myMap.scm"
However, that created a new project when StarEdit opened.
I did some more testing, and eventually I got around to this:
CODE
"C:\Program Files\Starcraft\StarEdit.exe" -n "C:\myDirectory\myMap.scm"
which ended up opening StarEdit, but with no map or anything open at all (just a blank MDI area).
My registry looks like this, if it helps:
CODE
HKEY_CLASSES_ROOT
- Applications
-- StarEdit.exe
--- Shell
---- open
----- command
------ (Default) : C:\Program Files\Starcraft\StarEdit.exe -n
----- ddeexec
------ (Default) : %1
------ Application
------- (Default) : StarEdit
My registry is not set up to launch maps with StarEdit.exe, so that does not influence the outcome.
This is obviously something I am missing, probably a stupid syntax error . . .
Thank you for any responses.