Appel vbscript externe dans un vbscript

pstitou -  
 mindslight -
Bonjour

j'aimerais appeler un script .vbs (vbscript) à partir d'un autre Vbscript ? qqu aurait-il une brillante idée ??

Merci
Configuration: Windows XP
Internet Explorer 6.0

1 réponse

  1. mindslight
     
    Bonjour,
    tu peux essayer d'utiliser ceci:

    set WshShell = createObject("WScript.shell")
    Wshshell.run "wscript.exe" & "test.vbs"

    ou

    Wshshell.run "cscript.exe" & "test.vbs" ' pour le mode console

    ca marche mais évite les chemins relatifs pour l'emplacement
    de ton script

    salut!
    0