In Windows you don't have the 'rc' style entry points - it's all started as
services.

You can use the Windows task scheduler to run a command on start-up, but it
needs to know that the UniVerse service has started successfully before it
kicks in.

So there are two options:

1. Use the task scheduler but write your command as a piece of VBScript and
use a UniObjects connection to connect locally to UniVerse and kick off your
startup paragraph. 

That means the script can loop until it gets a valid connection, but it's
rather inelegant and would need to have the connection credentials in the
script itself - bad!

2. Execute path_to\uv.exe your_paragraph in a command wrapped into a
service. 

If you Google around there are a few free apps out there that will wrap a
regular windows command line into a service - or you can use .net to create
a quick-and-simple service app to do the same thing. 

You can then create a dependency between your service and the Universe
resource service, which means it won't try to start until Universe has been
brought up.

Brian




_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to