Het forum

Specifying Working Directory for Shortcuts

Auteur Antwoorden
Xenos5 Vrijdag 27 Maart 2015 om 21:16
Xenos5

Hi,

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?

Thanks

Xenos5 Zaterdag 28 Maart 2015 om 9:39
Xenos5

... 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
petch

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
Xenos5

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