How can I execute two programs in t
How can I execute two programs in t
(OP)
How can I execute two programs in the same shortcut in Windows?
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines |
How can I execute two programs in t
|
Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.
Here's Why Members Love Eng-Tips Forums:
Register now while it's still free!
Already a member? Close this window and log in.
RE: How can I execute two programs in t
This is the way I start a program called CopyFiles.exe then sldworks.exe starts. I put the program under the SolidWorks Icon. I am not sure this is what your after, but I thought I would give it a shot.
Option Explicit
Private Sub Form_Load()
Dim CopySolidWorksMacros As String
CopySolidWorksMacros = Shell("J:\@Engineering Central\Common\Applications\SolidWorks\Executables\CopyFile.exe", 1) ' Run Copy Files program & SolidWorks.
Dim StartSolidWorks As String
On Error Resume Next ' if user leaves text box to soon, then they will be continued to next
StartSolidWorks = Shell("C:\Program Files\SolidWorks\sldworks.exe", 1) ' Run Copy Files program & SolidWorks.
Call cmdExit_Click
End Sub
Private Sub cmdExit_Click()
Unload Me
End
End Sub
' good luck
Bradley
RE: How can I execute two programs in t
But what I want is how to create a BAT file to execute two programs just clicking in the same shortcut in the Windows desktop.
RE: How can I execute two programs in t
First create a new text file on your desktop (or anywhere you want for that matter) and rename it to my2Programs.bat. The first part of the filename is really unimportant and you can name it to what ever you need, but the extention must remain .bat.
Now open the .bat file with notepad and enter the lines
c:\windows\system32\calc.exe
c:\windows\system32\charmap.exe
Close the batch file, making sure to save changes.
Then all you need to do is add a shortcut to your desktop and point it to the batch file.
Troy Williams
fenris@hotmail.com
RE: How can I execute two programs in t
But I have to close the first application to the second be executed.
What I want is both of them executed at the same time.
Regards,
MHendler