1
vote
3answers
616 views

How to find out what parameter was passed to a Windows Service

How do you find out what parameter was passed when starting a Windows service? I usually start a service thru net start by passing parameters as shown below net start DocumentHashService /Recursive ...