[SHUTDOWN]

- Fix a signed / unsigned warning.
- Attempt to fix resource compilation with MSVC.

svn path=/trunk/; revision=57917
This commit is contained in:
Hermès Bélusca-Maïto 2012-12-15 00:41:16 +00:00
parent 45d0b41d19
commit 2a50799eea
22 changed files with 618 additions and 618 deletions

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,39 +30,39 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Utilisation : shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\ordinateur][/t xxx][/d [p|u:]xx:yy [/c ""commentaire""]]\n\n"
" Sans argument ou /? Afficher l'aide.\n"
" /i Afficher l'interface utilisateur graphique (GUI). Cette option doit\n"
" être la première.\n"
" /l Fermer la session sur l'ordinateur local uniquement. Ne peut pas\n"
" être utilisée avec les options /m ou /d.\n"
" /s Arrêter l'ordinateur.\n"
" /r Redémarrer l'ordinateur.\n"
// " /g Redémarrer l'ordinateur et redémarrer toutes les applications\n"
// " enregistrées.\n"
" /a Annuler un arrêt du système. Ne peut être utilisée que pendant\n"
" la période de délai.\n"
" /p Arrêter l'ordinateur local sans délai d'expiration ou\n"
" avertissement. Peut être utilisée avec les options /d ou /f.\n"
" /h Mettre l'ordinateur local en veille prolongée. Utilisable avec\n"
" l'option /f.\n"
" /e Documenter la raison de l'arrêt inattendu d'un ordinateur.\n"
" /m \\\\ordinateur Spécifier l'ordinateur cible (adresse UNC/IP).\n"
" /t xxx Définir la période de délai avant l'arrêt au bout de xxx secondes.\n"
" La plage valide est comprise entre 0 et 315360000 (10 ans),\n"
" 30 étant la valeur par défaut.\n"
" /c ""commentaire"" Commentaire sur la raison de l'arrêt ou du redémarrage.\n"
" 512 caractères maximum autorisés.\n"
" /f Force la fermeture des applications en cours d'exécution sans\n"
" prévenir les utilisateurs. Si vous ne spécifiez aucun autre\n"
" paramètre, cette option provoquera aussi une déconnexion.\n"
" /d [p|u:]xx:yy Fournit la raison de l'arrêt ou du redémarrage.\n"
" p indique que l'arrêt ou le redémarrage est planifié.\n"
" u indique que la raison est définie par l'utilisateur.\n"
" Si ni p ni u ne sont spécifiés, l'arrêt ou le redémarrage ne sont\n"
" planifiés.\n"
" xx est le code de raison majeur (entier positif inférieur à 256).\n"
IDS_USAGE, "Utilisation : shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\ordinateur][/t xxx][/d [p|u:]xx:yy [/c ""commentaire""]]\n\n" \
" Sans argument ou /? Afficher l'aide.\n" \
" /i Afficher l'interface utilisateur graphique (GUI). Cette option doit\n" \
" être la première.\n" \
" /l Fermer la session sur l'ordinateur local uniquement. Ne peut pas\n" \
" être utilisée avec les options /m ou /d.\n" \
" /s Arrêter l'ordinateur.\n" \
" /r Redémarrer l'ordinateur.\n" \
// " /g Redémarrer l'ordinateur et redémarrer toutes les applications\n" /
// " enregistrées.\n" /
" /a Annuler un arrêt du système. Ne peut être utilisée que pendant\n" \
" la période de délai.\n" \
" /p Arrêter l'ordinateur local sans délai d'expiration ou\n" \
" avertissement. Peut être utilisée avec les options /d ou /f.\n" \
" /h Mettre l'ordinateur local en veille prolongée. Utilisable avec\n" \
" l'option /f.\n" \
" /e Documenter la raison de l'arrêt inattendu d'un ordinateur.\n" \
" /m \\\\ordinateur Spécifier l'ordinateur cible (adresse UNC/IP).\n" \
" /t xxx Définir la période de délai avant l'arrêt au bout de xxx secondes.\n" \
" La plage valide est comprise entre 0 et 315360000 (10 ans),\n" \
" 30 étant la valeur par défaut.\n" \
" /c ""commentaire"" Commentaire sur la raison de l'arrêt ou du redémarrage.\n" \
" 512 caractères maximum autorisés.\n" \
" /f Force la fermeture des applications en cours d'exécution sans\n" \
" prévenir les utilisateurs. Si vous ne spécifiez aucun autre\n" \
" paramètre, cette option provoquera aussi une déconnexion.\n" \
" /d [p|u:]xx:yy Fournit la raison de l'arrêt ou du redémarrage.\n" \
" p indique que l'arrêt ou le redémarrage est planifié.\n" \
" u indique que la raison est définie par l'utilisateur.\n" \
" Si ni p ni u ne sont spécifiés, l'arrêt ou le redémarrage ne sont\n" \
" planifiés.\n" \
" xx est le code de raison majeur (entier positif inférieur à 256).\n" \
" yy est le code de raison mineur (entier positif inférieur à 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERREUR : Impossible d'arrêter et de redémarrer en même temps.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -38,35 +38,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -30,35 +30,35 @@ END
/* Information and error messages */
STRINGTABLE DISCARDABLE
BEGIN
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n"
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n"
" No arguments or /? Display this help.\n"
" /i Show the graphical user interface (GUI). This option must be the\n"
" first one.\n"
" /l Log off on the local system only. Cannot be used with /m or /d.\n"
" /s Shutdown the computer.\n"
" /r Restart the computer.\n"
// " /g Restart the computer and restart all the registered applications.\n"
" /a Cancel a delayed shutdown. Can only be used during the delay\n"
" period.\n"
" /p Shutdown the local computer without any timeout or warning. Can be\n"
" used with /d or /f.\n"
" /h Hibernate the local computer. Usable with /f.\n"
" /e Document the reason for the unexpected computer shutdown.\n"
" /m \\\\computer Specify the target computer (UNC/IP address).\n"
" /t xxx Set the timeout period to xxx seconds before shutting down.\n"
" The valid range starts from 0 to 315360000 (10 years),\n"
" 30 being the default value.\n"
" /c ""comment"" Comment on the reason for shutdown or restart.\n"
" 512 characters maximum allowed.\n"
" /f Force running applications to close without warning users. If you\n"
" do not specify any other parameter, this option will also log off.\n"
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n"
" p indicates that the shutdown or the restart is planned.\n"
" u indicates that the reason is defined by the user.\n"
" If neither p nor u are specified, the shutdown or the restart are\n"
" not planned.\n"
" xx is the major reason code (positive integer smaller than 256).\n"
IDS_USAGE, "Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n" \
" [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\n" \
" No arguments or /? Display this help.\n" \
" /i Show the graphical user interface (GUI). This option must be the\n" \
" first one.\n" \
" /l Log off on the local system only. Cannot be used with /m or /d.\n" \
" /s Shutdown the computer.\n" \
" /r Restart the computer.\n" \
// " /g Restart the computer and restart all the registered applications.\n" /
" /a Cancel a delayed shutdown. Can only be used during the delay\n" \
" period.\n" \
" /p Shutdown the local computer without any timeout or warning. Can be\n" \
" used with /d or /f.\n" \
" /h Hibernate the local computer. Usable with /f.\n" \
" /e Document the reason for the unexpected computer shutdown.\n" \
" /m \\\\computer Specify the target computer (UNC/IP address).\n" \
" /t xxx Set the timeout period to xxx seconds before shutting down.\n" \
" The valid range starts from 0 to 315360000 (10 years),\n" \
" 30 being the default value.\n" \
" /c ""comment"" Comment on the reason for shutdown or restart.\n" \
" 512 characters maximum allowed.\n" \
" /f Force running applications to close without warning users. If you\n" \
" do not specify any other parameter, this option will also log off.\n" \
" /d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n" \
" p indicates that the shutdown or the restart is planned.\n" \
" u indicates that the reason is defined by the user.\n" \
" If neither p nor u are specified, the shutdown or the restart are\n" \
" not planned.\n" \
" xx is the major reason code (positive integer smaller than 256).\n" \
" yy is the minor reason code (positive integer smaller than 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT, "ERROR: Unable to shutdown and restart at the same time.\n"

View file

@ -29,7 +29,7 @@ VOID PrintResourceString(INT resID, ...)
static DWORD
ParseArguments(struct CommandLineOptions* pOpts, int argc, WCHAR *argv[])
{
UINT index;
int index;
if (!pOpts)
return ERROR_INVALID_PARAMETER;
@ -56,7 +56,7 @@ ParseArguments(struct CommandLineOptions* pOpts, int argc, WCHAR *argv[])
{
if (argv[index][0] == L'-' || argv[index][0] == L'/')
{
switch(towlower(argv[index][1]))
switch (towlower(argv[index][1]))
{
case L'?': /* Help */
PrintResourceString(IDS_USAGE);
@ -69,7 +69,7 @@ ParseArguments(struct CommandLineOptions* pOpts, int argc, WCHAR *argv[])
case L'c': /* Comment on reason for shutdown */
if(CheckCommentLength(argv[index+1]))
{
if(index+1 <= argc)
if (index+1 <= argc)
pOpts->message = argv[index+1];
else
return ERROR_INVALID_DATA;
@ -83,7 +83,7 @@ ParseArguments(struct CommandLineOptions* pOpts, int argc, WCHAR *argv[])
break;
case L'd': /* Reason code [p|u:]xx:yy */
if(index+1 <= argc)
if (index+1 <= argc)
pOpts->reason = ParseReasonCode(argv[index+1]);
else
return ERROR_INVALID_DATA;
@ -130,7 +130,7 @@ ParseArguments(struct CommandLineOptions* pOpts, int argc, WCHAR *argv[])
case L't': /* Shutdown delay */
pOpts->shutdown_delay = _wtoi(argv[index+1]);
if(pOpts->shutdown_delay > 0)
if (pOpts->shutdown_delay > 0)
pOpts->force = TRUE;
break;