Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to create a windows service that runs the executable at the end of a shortcut to facilitate versioning? i.e. sc create MyService binPath= "shortcut.lnk"

share|improve this question
3  
You might be better off using the symlink functionality instead of a shortcut. technet.microsoft.com/en-us/library/cc753194(v=ws.10).aspx I have never tested, but I bet you can point a services a symlink. Then simply update the symlink to point at the latest version and restart the service. – Zoredache May 29 '13 at 19:30
    
Thanks, that's the answer. Do post one below if you get a moment. – Anthony May 30 '13 at 10:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.