Thanks SOAP, I did use the pause command a lot and it helped considerably, but I haven't been able to crack my problem in the Batch file in Vista. The following few lines illustrate what I'm trying to do.
@ECHO OFF
"E:\My Program 1\My Program 1.LNK"
CLS
ECHO.
ECHO My Message. Do this first.
ECHO Now press a key to run Program 2.
ECHO.
Pause > NUL
"E:\My Program 2\My Program 2.LNK"
In XP, "My Program 1" opens, the batchfile continues, ECHO's the message, and stops at the pause. After I press a key, "My Program 2" opens and the batchfile continues.
In Vista, "My Program 1" opens and the batchfile waits until I close "My Program 1", before it continues. I want to keep "My Program 1" open and continue the batch file.
I have tried using "Start" & "Start /B". I've tried using "Call" to start "batch file 2", which in turn opens "My Program 1". But, no matter what, "batch file 1" waits until I close "My Program 1", before it continues. I want to get 2 executable files open at the same time.(with the single batch file) In my thinking, it seems like the "WAIT" should be the defailt, but "START" should also have a "-WAIT" switch, but alas Microsoft seems to disagree.
If anyone can help me to do that I would appreciate it. Otherwise, I will probably have to move on as ghostdog74 suggests.
i would suggest you move on to more advanced programming language ( including vbscript) to do what you want. Its time to move on.
I just read your suggestion this morning. It's weird because just last night at work, I mentioned to a co-worker that I probably need to use "some kind of script" to do what I want to do. It's weird because of the timing and the fact that I know absolutely nothing about scripts, except the fact that they exist..
Do you have a suggestion of vbscript help website I should go to as a beginner???
Thanks to all!