PC Review


Reply
 
 
Ken
Guest
Posts: n/a
 
      1st Oct 2003
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


 
Reply With Quote
 
 
 
 
Ritchie
Guest
Posts: n/a
 
      2nd Oct 2003
"Ken" <(E-Mail Removed)> wrote in message news:#IrA6$(E-Mail Removed)...
> 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=cm...Astart+service

--
Ritchie, undo for mail


 
Reply With Quote
 
Walter Schulz
Guest
Posts: n/a
 
      2nd Oct 2003

>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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
start Word and Mail Merge the data from excel,start to send print, tmssupport Microsoft Word Document Management 1 19th Dec 2007 11:39 AM
start/Run, start/Search, and start/Help and Support not working =?Utf-8?B?RGViYmllIGluIFBsYW5v?= Windows XP Help 7 18th Apr 2007 07:38 AM
IE won't start from Start; will start from Control Panel, Auto Updates Ed Katzman Windows XP Internet Explorer 1 30th Dec 2005 08:16 PM
Stop users Double Click on start/programs to start Windows Explore =?Utf-8?B?U2Nob29sIE5ldHdvcmsgQWRtaW5pc3RyYXRvcg== Windows XP Security 0 13th Oct 2005 12:47 AM
Start|Help, Start|Run, Start|Search stopped working =?Utf-8?B?TWFydGlu?= Windows XP General 2 3rd Jul 2004 06:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:10 AM.