Re: autoexec.nt elusive

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks for the astute suggestions. Yes, those two methods are quite
appropriate. I want to invoke a clock synchronization scheme to NIST, and
since I turn my computer off and on quite frequently, I thought I could just
invoke "net start w32time" upon start up... Of course this didn't work,
when I installed that command line in autoexec.nt. That's why I posted.

(Given that I have set my computer to appeal to time server
time-a.timefreq.bldrdoc.gov as a reference, all I need to do is to start
that service, w32time, to synchronize my clock to atomic time.) So I
suppose I could use Task Scheduler for this.

Better still, NIST provided me with a convenient executable for the purpose
of periodic synchronization: nistime-32bit.exe.

That being said, I am still curious about autoexec.nt. When, quite
specifically, is it executed, may I ask? It doesn't seem to happen for me.

Thanks for the replies.



--
Sent via OE by John, from MERCURY
"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
news:ep7zq5J0HHA.2312@xxxxxxxxxxxxxxxxxxxxxxx

"John B" <jb@xxxxxxxxxx> wrote in message
news:_xqqi.17$U_5.3@xxxxxxxxxxxxxxx
I am running under Windows 2000 Pro + sp4. I have gone into a CMD window
and typed "autoexec.nt" + [enter]. A file executes OTHER than the one
and
only autoexec.nt file that I can find in my computer... The one I find
is
at %systemroot%\system32\autoexec.nt.

How can this be?
Can anyone refresh my memory? It seems there were various "autoexec"
files
under Windows 95...a long time ago. I have used "attrib" to scan the
system32 directory, which should ferret out hidden files, but I only see
autoexec.nt...the same one I can edit.

TIA
John


There is only one autoexec.nt. It's the one you found in the System32
folder. Why do you want to execute it? It's a legacy file meant for
legacy applications! If you want a certain command to run at logon
time, place its shortcut into your Startup folder! If you want a certain
command to run at boot time, use the Task Scheduler!





.



Relevant Pages

  • Re: thread invoke Synch marshalling
    ... and then invoke from the current thread. ... available to you since they modify state that would trash whatever work the ... make the call from your own thread and use proper synchronization. ... Win32 API already provides for ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: File browser
    ... Any time you get your code to be called on the EDT, you are now in control. ... So it should be simple enough to write code that intentionally causes something to be called on the EDT, at which point one can take advantage of that control to ensure a synchronization error. ... Unfortunately, because it's specifically using invokeLaterto get code to execute on the EDT, it's not a demonstration of the problem I'm asking about. ... Before any components are shown, user actions won't affect when things are executed on the EDT. So, what of those "factors external to your application"? ...
    (comp.lang.java.programmer)
  • Re: Which Async. Pattern should I be using?
    ... the notification mechanisms that data binding supports (the ... Changed event pattern, implementation of the ... the question about concentrating solely on synchronization, ... Synchronisation and not worry about 'invoke' to the gui thread? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Form freezing form
    ... >> When you update the form from the thread, are you taking care of the ... >> synchronization? ... updating the UI. ... (that basically contains the address of the function to execute) ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Help on Asp.Net Code Syncronization
    ... I used SyncLock that works perfectly. ... Since each ASP.NET request is executed on a separate thread, you can take advantage of the .NET thread synchronization support. ... This is because this method execute some code that can't be execute twice at the same time. ...
    (microsoft.public.dotnet.framework.aspnet)