Jump to content

notes.exe closes itself when launched from netlogon script


Recommended Posts

Posted

Hi,

 

I'm having some weird issue:

 

I have to make lotus notes to start automatically from some

netlogon .bat script.

so I call c:\lotus\notes\notes.exe in my script, it'll do stuff and

then will call nlnotes.exe and terminate itself; this is ok, but as

soon as my netlogon script comes to its end, nlnotes.exe is terminated

as well.

 

what I've tried so far:

call notepad.exe after notes.exe: lotus is "automatically" closed

after I exit notepad

call notes.exe from some vbs script: no changes

 

notepad.exe seems to suspend the processing of the bat file until it's

closed

 

When i use the notepad.exe trick and check some things with "process

explorer" i find that nlnotes.exe has no know parents (that's normal i

guess, because it's launched from notes.exe which is already

terminated)

 

I do not see any "connection" between nlnotes.exe and the netlogon

script, but it keeps on closing itself every time

 

I can't directly launch nlnotes.exe because notes.exe does stuff

before it starts nlnotes.exe ( http://xrl.us/7syb )

 

I'd like to launch that notes.exe thing detached from everything else.

 

Thanks in advance!!

 

--

 

Kev

  • Replies 3
  • Created
  • Last Reply
Posted

RE: notes.exe closes itself when launched from netlogon script

 

Hello,

 

try start instead of call ..

 

alf maier

 

"Kevin" wrote:

> Hi,

>

> I'm having some weird issue:

>

> I have to make lotus notes to start automatically from some

> netlogon .bat script.

> so I call c:\lotus\notes\notes.exe in my script, it'll do stuff and

> then will call nlnotes.exe and terminate itself; this is ok, but as

> soon as my netlogon script comes to its end, nlnotes.exe is terminated

> as well.

>

> what I've tried so far:

> call notepad.exe after notes.exe: lotus is "automatically" closed

> after I exit notepad

> call notes.exe from some vbs script: no changes

>

> notepad.exe seems to suspend the processing of the bat file until it's

> closed

>

> When i use the notepad.exe trick and check some things with "process

> explorer" i find that nlnotes.exe has no know parents (that's normal i

> guess, because it's launched from notes.exe which is already

> terminated)

>

> I do not see any "connection" between nlnotes.exe and the netlogon

> script, but it keeps on closing itself every time

>

> I can't directly launch nlnotes.exe because notes.exe does stuff

> before it starts nlnotes.exe ( http://xrl.us/7syb )

>

> I'd like to launch that notes.exe thing detached from everything else.

>

> Thanks in advance!!

>

> --

>

> Kev

>

>

Posted

Re: notes.exe closes itself when launched from netlogon script

 

thanks for your answer alf, but it didn't help

i'd be glad to try every other ideas you may have

Posted

Re: notes.exe closes itself when launched from netlogon script

 

Hello,

 

why don´t you use

C:\Documents and Settings\All Users\Start Menu\Programs\Startup

to start notes. Then notes is invoked on startup after any user has logged

in. ( Maybe you should set the rights in a restrictive way on this dir to

prevent the "common" user to change things there )

A more compatible way to write the path is %ALLUSERSPROFILE%\startup

 

greets

 

alf maier

 

 

 

"Kevin" wrote:

> thanks for your answer alf, but it didn't help

> i'd be glad to try every other ideas you may have

>

>


×
×
  • Create New...