Executable (VBS)

Executable (VBS)

Postby jordi on Fri May 23, 2008 7:14 am

Exemple de vb script ouvrant notepad après 10 secondes.
myExample.vbs
Code: Select all
Dim oShell
WScript.Sleep 10*1000   ' attendre 10 secondes
Set oShell = WScript.CreateObject("WScript.Shell")
oShell.run("notepad.exe")
jordi
Site Admin
 
Posts: 34
Joined: Fri Jan 25, 2008 5:09 pm

Return to OS, misc and tips

Who is online

Users browsing this forum: No registered users and 1 guest

cron