Code AutoIT

Résolu
Salut
j'ai un peti souci avec mon code dès la premiere ligne
je ne trouve pas la bonne syntaxe pour lancer mon executable qui se trouve sur un serveur
En fait j'ai bo mettre l'adresse ou il se situe j'ai toujour une erreur
voilà mon code :

Shellexecute,("\\chalsr-impres\AgentOcs\\OcsAgentSetup.exe ")
HideAutoItWin, On
WinWaitActive, Installation OCS Inventory
Send, !s
WinWaitActive, Installation OCS Inventory
Send, !c
WinWaitActive, Installation OCS Inventory
Send,10.1.21.15
Send, !s
WinWaitActive, Installation OCS Inventory
Send, !i
Sleep 8000
WinWaitActive, Installation OCS Inventory
Send, !f

Merci si vous voyez mes erreurs
Configuration: Windows XP
Internet Explorer 6.0

2 réponses

  1. Shellexecute,("\\chalsr-impres\\AgentOcs\\OcsAgentSetup.exe ") 
    


    Pour commencer, tu as oublier un \ entre chalsr-impres et AgentOcs
    1. et en plus je n'arrive pas a mettre mon instal en silencieu
      svp j'ai besoin de vous