Cheers
Andy
Andy <nos...@nospam.com> wrote in message
news:9j2g9i$2qu$1...@uranium.btinternet.com...
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.264 / Virus Database: 136 - Release Date: 7/2/01
Create a shortcut which executes the following command:
C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 1
(If you change last digit from a 1 to a 2, it will restart the computer instead)
....then you can use Task scheduler to execute that shortcut command at a given time.
If you have any problems, email or post to the group in this thread.
Max
"Andy" <nos...@nospam.com> wrote in message news:9j2g9i$2qu$1...@uranium.btinternet.com...
Max
"HlpDsk" <XXcom...@yahooX.com> wrote in message news:MN357.241$Dv1.12...@newssvr11.news.prodigy.com...
Hope that helps!
"Andy" <nos...@nospam.com> wrote in message
news:9j2g9i$2qu$1...@uranium.btinternet.com...
Max
Original Post:
*****************************************
Yes, you can...
Create a shortcut which executes the following command:
C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 1
(If you change last digit from a 1 to a 2, it will restart the computer instead)
....then you can use Task scheduler to execute that shortcut command at a given time.
If you have any problems, email or post to the group in this thread.
Max
*****************************************
"Mr. Invisible" <pri...@private.com> wrote in message news:9j2moq$ntn$1...@uranium.btinternet.com...
I created a Shortcut named "FinDesEmissions"
located as below:
C:\WINDOWS\Bureau\ne pas utiliser\FinDesEmission
"Bureau" is equivalent to "Desktop" for French Win98SE
I paste the following string in it
C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 1
and aplly a new task to run it once a day
If I double click on the Shortcut, the computer turnoff as expected,
but the Schedule Task does not run, there is an error(0), see below
"Service du Planificateur de tâches"
Démarré à 01-09-16 09:07:55
"RUNDLL32.job" (RUNDLL32.EXE)
Démarré à 01-09-16 09:10:00
"RUNDLL32.job" (RUNDLL32.EXE)
Quitté à 01-09-16 09:10:00
Résultat : La tâche s'est terminée avec le code de sortie :(0).
Do you have any idea ?