From: C y b e r T e c h @ L i s t s . E x M a c h i n a . n e t 
<http://www.cybercafe21.net> & <http://www.cybercafe21.tv>

Le paramêtre /c le fait.

Voici les options du shutdown.exe :

Release 2.0 written by A. Blatzheim 1993 at Microsoft GmbH

Usage: SHUTDOWN [/?] [\\Computer] [/L] [/A] [/R] [/T:xx] ["Msg"] [/Y] [/C]

/?              Shows this screen.
\\Computer      Specifies a remote computer to shutdown.
/L              Specifies a local shutdown.
/A              Abortes a systemshutdown. This is only possible during the
                timeout period.If this switch is used, all other are ignored.
/R              Specifies that the machine should reboot after shutdown.
/T:xx           Sets the timer for system shutdown in seconds.[20 sec. default]
"Msg"           Specifies an additional message
/Y              Answer all following questinons with yes
/C              Forces running applications to close.
                ATTENTION: If you use the /C parameter NT ignores the
                           applications option to save data which may
                           have canged. You will see no File-Save dialog
                           box, because NT will force the application to
                           close. This will result in a loss of all data.
                           not previously saved !!!




Hope this help

-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Philippe Hollaert
Envoyé : mer. 14 mars 2001 13:08
À : CyberTech
Cc : [EMAIL PROTECTED]
Objet : [CCTK] Reboot NT Server


From: C y b e r T e c h @ L i s t s . E x M a c h i n a . n e t
<http://www.cybercafe21.net> & <http://www.cybercafe21.tv>

Hello,

Sous NT server, la commande
c:\shutdown /L/R/Y
est censee rebooter le PC sans demander de confirmation a la question 'Are
you sure that you want a shutdown?[Y/N]'

Malheureusement, chez moi, cette commande demande une confirmation, ce qui
m'empeche de faire executer cette commande a intervalle regulier.

1. Existe-t-il une autre commande ayant le meme effet ?
2. Est-il possible de 'reparer' ce bug ?

Merci pour votre aide

--
[ Philippe Hollaert - [EMAIL PROTECTED] ]
[ http://www.dbth.com/antoine ]
[ d.o.n.t.ß.e.l.i.e.v.e.t.h.e.h.¥.p.e ]



Des Cadeaux, des avantages et des offres qui vous interessent ?
http://www.justforyou.be... what you want is what you get !
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CCTK vous est offert par Ex Machina  <http://www.exmachina.net>
Pour vous desabonner <mailto:[EMAIL PROTECTED]>


Des Cadeaux, des avantages et des offres qui vous interessent ?
http://www.justforyou.be... what you want is what you get !
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CCTK vous est offert par Ex Machina  <http://www.exmachina.net>
Pour vous desabonner <mailto:[EMAIL PROTECTED]>

Répondre à