How would I create a batch file to open one executable program in/with another? I've read up on a few answers on Yahoo! Answers that taught how to open 2 programs at the same time using custom made .bat files, but how would one make a .bat file that opened one program in another?
Example: I want to run A.exe and open it via B.exe. The way I do it now is I drag the A.exe icon over B.exe, but I'm hoping I could just create a shortcut that would do this for me in one easy click off my desktop. @_@
Well, since you're able to drag A.exe onto B.exe and it works, it should be pretty easy. In fact, you should be able to do this with a shortcut and not have to deal with batch files. Just create a shortcut to B.exe on your desktop, then right click the shortcut and do Properties. Then under the Target field, you just add the path to A.exe after B.exe. So if both A and B are in C:\Program Files, then your Target field should look like:
Code:
"C:\Program Files\B.exe" "C:\Program Files\A.exe"
Then that shortcut should do the same thing as dragging A.exe onto B.exe.
Now, my question is why the hell are you opening one program with another?
