Skip to content
Discussion options

You must be logged in to vote

There are ways, some worse than others, but my recommendation would be to recognize the fact that in Windows service binaries, for several reasons (including security concerns) shouldn't be found in any search paths, while binaries that a use will invoke usually should be.

So, I'd place the file in a directory that'll be accessible via a search path for the non-service case, and instead place that exact same file into a different directory (possibly named "service"?) for the service case.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by robmen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants