> How about: > > C:\Documents and Settings\lkemp>sc create Bacula-FD binpath= "C:\Program > Files\Bacula>bacula-fd.exe" -c "C:\Program Files\Bacula\bacula-fd.conf" > type= share start= auto >
It seems that it is not easy to pass parameters to sc.. http://stackoverflow.com/questions/3663331/creating-a-service-with-sc-exe-how-to-pass-in-context-parameters Although I think this will do it (using nested quotes - escaping the inner quotes): http://stackoverflow.com/a/11084834/487892 John ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users