I need to run two commands one after the other from a bat file. The commands need to be run in a specific order upon user login (logon scripts)- for example - -
"C:\Program Files\Microsoft Office\Office\EXCEL.EXE"
"C:\Program Files\Microsoft Office\Office\WINWORD.EXE"
using the above example, excel will run and the script will pause until excel has been closed before running the winword command. I need to (using the above as an example) open excel first and when thats FINISHED loading up, then run excel. I have tryed putting the commands in the startup folder but after testing it seems to randomly load up the items and doesnt follow any specific order.
Is there a command that will continue the script without waiting for the first program to close
any help on this will be greatly appreciated
Gary.Brett@HalifaxCetelem.Com
"C:\Program Files\Microsoft Office\Office\EXCEL.EXE"
"C:\Program Files\Microsoft Office\Office\WINWORD.EXE"
using the above example, excel will run and the script will pause until excel has been closed before running the winword command. I need to (using the above as an example) open excel first and when thats FINISHED loading up, then run excel. I have tryed putting the commands in the startup folder but after testing it seems to randomly load up the items and doesnt follow any specific order.
Is there a command that will continue the script without waiting for the first program to close
any help on this will be greatly appreciated
Gary.Brett@HalifaxCetelem.Com