Forums

Specifying Working Directory for Shortcuts

Auteur Réponses
Xenos5 Vendredi 27 Mars 2015 à 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 Samedi 28 Mars 2015 à 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 Samedi 28 Mars 2015 à 10:29
petch
Développeur

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 Samedi 28 Mars 2015 à 10:32
Xenos5

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