Saisie automatique sous MS-DOS
Bonjour a tous,
J'ai fait un batch en vbs mais je ne me souviens plus la syntaxe pour le transformer en batch MS-DOS. Je vous mets la version vbs. Pouvez vous m 'aidez a le transformer en ms-dos.
merci
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "esscmd" '--> Ouvre l'application Essbase
WScript.Sleep 200
WshShell.SendKeys "login"
WScript.Sleep 100
WshShell.SendKeys "{Enter}"
WshShell.SendKeys "serveur"
WshShell.SendKeys "{Enter}"
WshShell.SendKeys "login"
WshShell.SendKeys "{Enter}"
WshShell.SendKeys "password"
WshShell.SendKeys "{Enter}" |