> From: Scott Rossi <[EMAIL PROTECTED]>
>
> I've got a client who's asking for some file management 
> tricks on Windows
> that hopefully folks on the list know how to pull off:
> 
> 1) First Run -- I've been told Windows has some kind of 
> directory where you
> can install files that are run once after being installed.  
> Is this true?

Yes.  See below.

> If I install an MC app and want it to auto-launch only one 
> time, can this
> simply be placed in whatever magic directory handles one time 
> launches?

There is a registry entry at the following location

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce

This allows you to add an entry for a program path and name.  When you start
Windows this program will run (I believe even before you log in) and the
registry entry will then automatically be deleted.

> 
> 2) Time Delayed Auto Launch -- Apparently it's possible to 
> somehow tell
> Windows to launch a specified document or app after a 
> designated period of
> time has elapsed.  The only way I can imagine doing this is 
> through a visual
> basic script or something similar.  If I install an MC app 
> and want Windows
> to automatically launch it after 20 days, is this possible?

You might be able to create an entry in the Task Scheduler.  This is built
in to Windows 98 and I think it is part of Internet Explorer 4 and later.
There is a Task Scheduler API but I believe that requires programming in
C/C++.  Perhaps someone can provide a DLL that does the dirty work for you.
Otherwise you can add it manually but I imagine that's probably not what you
had in mind.

Larry Huisingh

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to