Het forum

Specifying Working Directory for Shortcuts

Auteur Antwoorden
Xenos5 Vrijdag 27 Maart 2015 om 21:16


I need to be able to specify the current directory for POL_Shortcut. In particular, for the first two S.T.A.L.K.E.R. games, you need to run the binary from the root of the game install, as 'bin/XR_3DA.exe'. POL_Shortcut seems unable to do this. Is there then some more arcane way to accomplish this?


Xenos5 Zaterdag 28 Maart 2015 om 9:39

... it seems S.T.A.L.K.E.R. doesn't require a different starting directory after all. My question still stands, but more in an academic sense than practical. I suspect the answer is just writing a new function that generates a shortcut with a changeable starting directory, but some official clarity would nonetheless be appreciated.

petch Zaterdag 28 Maart 2015 om 10:29

POL_Shortcut doesn't allow for that, some obsoleted function it replaced could (POL_SetupWindow_make_shortcut), so I guess it means over 99% programs don't need that feature...

Xenos5 Zaterdag 28 Maart 2015 om 10:32

I see. Well, good to know the functionality exists at least.