If you want to open a program and you don't want a big black screen from a batch file appearing then you can make this VBS script.
Dim tateShell : set tateShell = CreateObject("WScript.Shell")
tateShell.Run "Your program here."
You can change around the variable name like this but you need to change all of it.
Dim oShell : set oShell = CreateObject("WScript.Shell")
oShell.Run "Your program here."
You can also do this so it prompts you on which program you want to run.
Dim tateShell : set tateShell = CreateObject("WScript.Shell")
Dim abc
abc=InputBox("Enter a program or file directory.","Run","Text Here")
tateShell.Run abc
No comments:
Post a Comment