Send Server Commands Via DOS

Is it possible to send server commands via dos. Does anyone know abt this feature.

Below link has got the information but it requires subscription.

http://databasedadvisor.com/doc/10314

Regds

Subject: Send Server Commands Via DOS

Thanks for your post Ian Cherrill…I copied the application to the program directory but it didnt work. Anyother help.

C:\Program Files\Lotus\Notes\Data\Incmd (servername) “show tasks”…

This is what I had given…Pls correct me if i am wrong.

Subject: RE: Send Server Commands Via DOS

TG,

Look like you ran it from the data directory to me. I think you need to type

lncmd “show tasks”

from the program directory.

Did you copy the dll too?

Also “it didn’t work” is not a very helpful description of your problem.

Ian

Subject: RE: Send Server Commands Via DOS

Hi Ian,

I am getting the below msg when i execute the command

C:\Program files\lotus\notes\Incmd servername “show tasks”

The name specified is not an recognised as as internal or external command, Operable program or batch file.

Please help.

Subject: RE: Send Server Commands Via DOS

TG,

Change your directory to the Notes program directory and type

lncmd servername “sh ta”

If that doesn’t work I can only assume you didn’t copy the lncmd.exe file to the right place.

Ian

Subject: RE: Send Server Commands Via DOS

Use this:C:\Lotus\Domino>nserver.exe -c “sh ta”

Although the output will be in the Domino Server Console, not in your DOS window.

Subject: Send Server Commands Via DOS

Does DOS have networking capabilities? :slight_smile:

Subject: Send Server Commands Via DOS

TG,A cautious yes to that one. You still need a Notes client installed on the machine in question and it will still ask for a Notes password unless (a) there is no password on the ID or (b) the Notes client is already running an you allow passwords to be shared with add-ons (in the preferences). There are several places you can get a program to do this, one of them is here: dominoserver.de

Regards, Ian