The forum

Specifying Working Directory for Shortcuts

Author Replies
Xenos5 Friday 27 March 2015 at 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 Saturday 28 March 2015 at 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 Saturday 28 March 2015 at 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 Saturday 28 March 2015 at 10:32
Xenos5

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

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com