Job Initiation

  • Thread starter Thread starter web1110
  • Start date Start date
W

web1110

Hi y'all,

How do I notify the system that a job is to be started up immediately upon
reboot but only one time.

SpyBot does this. When it finds trash it cannot remove, it can run first on
a reboot allowing it to get to trash before it executes.

It's a technique I may be able to exploit with a C# program I am working on.

Thanx,
Bill
 
Could you not do this by having the application add itself to the relevant
startup registry key and upon it's next execution simply remove itself from
the registry?

--

--

Br,
Mark Broadbent
mcdba , mcse+i
=============
 
Thanks, I understand what you say - can you provide some details - this is
an area I haven touched recently, and in the past, I have have been known to
screw up a registry or two. Plus, I am sure C# has some clever tools to
facilitate this.

Thanx again,
Bill
 
it would probably be better for you to search through documentation to find
the class that allows you to write to registry -cos Id have to do same
(never done it before either)

seems to be loads of stuff relating to this subject (probably most not C#)
but this url willl give you the idea of what keys to use

http://www.windowsdevcenter.com/pub/a/oreilly/windows/ron/startup_0401.html

--

--

Br,
Mark Broadbent
mcdba , mcse+i
=============
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top