Voir : [http://technet.microsoft.com/en-us/library/ee156618.aspx|http://technet.microsoft.com/en-us/library/ee156618.aspx] Exemple : ligne de commande = test.vbs /Server:rrrrrrr /timeout:124412 /// __Méthode 1__ Set colNamedArguments = WScript.Arguments.Named strServer = colNamedArguments.Item(« Server ») strTimeout = colNamedArguments.Item(« Timeout ») Wscript.Echo « Server Name: » & strServer Wscript.Echo « Timeout (ms): » & strTimeout __Méthode 2__ StrServer= WScript.Arguments.Item(0) strTimeout= WScript.Arguments.Item(1) ///
TRAVAILLER AVEC DES ARGUMENTS
- Auteur/autrice de la publication :patrick
 - Publication publiée :7 novembre 2013
 - Post category:Non classé
 - Commentaires de la publication :0 commentaire