PC Review
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 CMD Promt
Net Start
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 CMD Promt
Net Start
![]() |
Net Start |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I am not sure of the proper place to post this.
I am looking for the proper syntax do perform a net start from the command line with parameters. Does anyone know the syntax? Example: Net Start "MyService C:\MyParamsFile.config" Thanks in advance! Ken |
|
|
|
#2 |
|
Guest
Posts: n/a
|
"Ken" <admin@kabwebs.com> wrote in message news:#IrA6$FiDHA.2512@TK2MSFTNGP09.phx.gbl...
> I am not sure of the proper place to post this. It's the right place > I am looking for the proper syntax do perform a net start from the command > line with parameters. Does anyone know the syntax? Lots of examples here:- http://groups.google.com/groups?q=c...3Astart+service -- Ritchie, undo for mail |
|
|
|
#3 |
|
Guest
Posts: n/a
|
>I am looking for the proper syntax do perform a net start from the command >line with parameters. Does anyone know the syntax? > >Example: Net Start "MyService C:\MyParamsFile.config" NET START won't do the job. Take a look into HKLM\system\CurrentControlSet\Services\<internal name for MyService> You will find an entry named "Imagepath" which consists of the "path\<file name>" (required) and additional parameters (if any). You will find an example under MSIServer. "Net start" will not be able to append anything to the Imagepath entry. Possible solutions: Create a reg file with the entry you want to use and run this batch: REGEDIT /S myconfig.reg net start myservice Or use SC.EXE like SC CONFIG MYSERVICE binPath=<as wanted> net start Myservice Ciao, Walter |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

