Variable substitution on command happens early, at the same time it does for the rest of the if command.
La substitution de variables sur commande se produit tôt, au même moment que pour le reste de la commande if.
The if command use two groups {}, the first for the condition, the second for the actions.
La commande if utilise deux groupements {}, le premier pour la condition, le second pour les actions.
If the -V or -v option is supplied, the exit status is 0 if command was found, and 1 if not.
Si les options -V ou -v sont fournies, le code de retour est 0 si la commande est trouvée, et 1 sinon.
If the -V or -v option is supplied, the exit status is 0 if command was found, and 1 if not.
Si l'option -V ou -v est fournie, l'état final est 0 si la commande a été trouvée et 1 sinon.
If command is not specified, then psql will list all the commands for which syntax help is available.
Si commande n'est pas spécifiée, alors psql liste toutes les commandes pour lesquelles une aide en ligne est disponible.
If command is an asterisk ( ), then syntax help on all SQL commands is shown.
Si commande est un astérisque ( ), alors l'aide en ligne de toutes les commandes SQL est affichée.
You can create a batch program to perform xcopy operations and use the batch if command to process the exit code if an error occurs.
Vous pouvez créer un programme de commandes pour effectuer des opérations xcopy et utiliser la commande if pour traiter le code de sortie si une erreur se produit.
Firstly, you can look for the existence of screen elements by simply naming the corresponding screen element in the if command.
Tout d'abord, vous pouvez vérifier l'existence d'éléments d'écran en nommant l'élément d'écran correspondant dans la commande if.
We also use the if command to display the information in a better readable way, and we concatenate some fields (weight and weight unit).
Nous utilisons également la commande if pour afficher les informations d'une manière plus lisible et nous concaténons certains champs (poids et unité de poids).
You can create a batch program to perform xcopy operations and use the batch if command to process the exit code if an error occurs.
Vous pouvez créer un programme de commandes assurant les opérations xcopy et utiliser la commande if dans ce programme afin de traiter le code de sortie en cas d'erreur.
The Command name command sets the OK variable to 1 if command corresponds to an existing command number, and to 0 otherwise.
La commande Command name met la variable OK à 1 si la commande correspond à un numéro de commande existant, et à 0 dans le cas contraire.
To process exit codes returned by diskcomp, you can use ErrorLevel on the if command line in a batch program.
Pour traiter les codes de sortie renvoyés par diskcomp, vous pouvez utiliser la variable d'environnement ERRORLEVEL sur la ligne de commande if dans un programme de commandes.
The following example illustrates how to process a diskcomp exit code in a batch program that uses the ErrorLevel parameter on the if command line: Copy
L'exemple suivant montre comment traiter un code de sortie de diskcomp dans un programme de traitement par lots qui utilise la variable d'environnement ERRORLEVEL sur la ligne de commande if : Copier