whiwex
asked on
Running several Apps
I have four spyware removal programs and two virus remoavl programs that I would like to combine into one. i.e. I want to click and Icon and have all six programs run one after the other. What is the best why to do this?
Thanks
Whiwex
Thanks
Whiwex
You can do with a .Bat file.
Create a new text file and put this:
@echo off
Start "c:\windows\calc.exe"
Start "c:\Program Files\You Software Dir\AppName.exe"
Repeat this for all programs.
Create a new text file and put this:
@echo off
Start "c:\windows\calc.exe"
Start "c:\Program Files\You Software Dir\AppName.exe"
Repeat this for all programs.
You can do with a .Bat file.
Create a new text file and put this:
@echo off
Start "c:\windows\calc.exe"
Start "c:\Program Files\You Software Dir\AppName.exe"
Repeat this for all programs.
Save the file as. "test.bat" with quotes. And just run the file to see the result.
Create a new text file and put this:
@echo off
Start "c:\windows\calc.exe"
Start "c:\Program Files\You Software Dir\AppName.exe"
Repeat this for all programs.
Save the file as. "test.bat" with quotes. And just run the file to see the result.
ASKER
Idle Mind
I don't have a programming language. At least none that I purchased. I'm willing to purchase.
aneim
I tried your bat file it just opens the dos window.
These are windows programs such as Sysweeper and Adaway. I would like to run one and when it's finished run the other.
I don't know if I cab do thie with a script or what.
thakns
Whiwex
I don't have a programming language. At least none that I purchased. I'm willing to purchase.
aneim
I tried your bat file it just opens the dos window.
These are windows programs such as Sysweeper and Adaway. I would like to run one and when it's finished run the other.
I don't know if I cab do thie with a script or what.
thakns
Whiwex
whiwex, try with Dos old Names...
-cut here-----------------
@echo off
Start c:\windows\system32\calc.e xe
Start c:\windows\system32\sol.ex e
Start c:\windows\system32\freece ll.exe
-cut here-----------------
Sorry. Windows XP dont use quotes. Try this without quotes.
-cut here-----------------
@echo off
Start c:\windows\system32\calc.e
Start c:\windows\system32\sol.ex
Start c:\windows\system32\freece
-cut here-----------------
Sorry. Windows XP dont use quotes. Try this without quotes.
ASKER
For some reason I have to move to the directory then start the program. If I start using the whole path it says it can't find it.
So I can start the program. Now how do I get it to click buttons and navigate through the windows?
Whiwex
So I can start the program. Now how do I get it to click buttons and navigate through the windows?
Whiwex
Well... A .bat file will not do that... If you need click in windows and do some tasks you can record a macro to do that.
Software Home Page : http://www.americansys.com/ezmacros.htm
Download File: ftp://ftp.americansys.com/amem5a.exe
This program can Record your actions and can assign a Hot Key to the Macro.
Software Home Page : http://www.americansys.com/ezmacros.htm
Download File: ftp://ftp.americansys.com/amem5a.exe
This program can Record your actions and can assign a Hot Key to the Macro.
ASKER
This is somewhat what what I want but there's not enough control. Is there some kind of software that will allow me to actually write the code for the macro?
whiwex
whiwex
ASKER
Could this be done with VBScript?
Whiwex
Whiwex
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Well Your perception is right VBScript is the easy answer here.... try
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shel l")
Set oExec = WshShell.Exec("File1.exe")
Set oExec = WshShell.Exec("File2.exe")
....
So on for all files
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shel
Set oExec = WshShell.Exec("File1.exe")
Set oExec = WshShell.Exec("File2.exe")
....
So on for all files
Well I just forgot you want to run the next file when the previous has finished just put a status check for the previous program using...
Do While oExec.Status = 0
WScript.Sleep 100
Loop
The code will now change to....
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shel l")
Set oExec = WshShell.Exec("File1.exe")
Do While oExec.Status = 0
WScript.Sleep 100
Loop
Set oExec = WshShell.Exec("File2.exe")
Do While oExec.Status = 0
WScript.Sleep 100
Loop
..... And so on for all files
Do While oExec.Status = 0
WScript.Sleep 100
Loop
The code will now change to....
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shel
Set oExec = WshShell.Exec("File1.exe")
Do While oExec.Status = 0
WScript.Sleep 100
Loop
Set oExec = WshShell.Exec("File2.exe")
Do While oExec.Status = 0
WScript.Sleep 100
Loop
..... And so on for all files
arif_eqbal,
whiwex want send clicks to windows, like click on scan button, and if a virus found click on Remove or Heal button.
If you look at EZ Macros , you can do this with the software.
whiwex want send clicks to windows, like click on scan button, and if a virus found click on Remove or Heal button.
If you look at EZ Macros , you can do this with the software.
ASKER
Aldos tools seems todo the trick
thanks
thanks
Thanks whiwex! :D
Do you have any programming languages?
Should this just be a batch file?
Do you want all the apps to open at the same time or the next opens after the previous is closed?
Idle_Mind