I am wanting to script the following actions, in sequential order (Currently done in a cmd window)
C:\Program Files\TrueCrypt\TrueCrypt.exe /q /v c:\volume /lz /a
C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt.exe
"C:\Program Files\Microsoft Office\OFFICE11\msaccess.exe" "C:\Documents and Settings\RichardS\Desktop\database\contacts remote.mdb"
C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqladmin.exe -u root -prism6537 shutdown"
c:\Program Files\TrueCrypt\TrueCrypt.exe /q /d
Each one is dependant upon the previous command's completion. In the case of msaccess.exe, I need to wait until it ends before shutting down the server and unmounting the truecrypt volume. How can I accomplish this?
C:\Program Files\TrueCrypt\TrueCrypt.exe /q /v c:\volume /lz /a
C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt.exe
"C:\Program Files\Microsoft Office\OFFICE11\msaccess.exe" "C:\Documents and Settings\RichardS\Desktop\database\contacts remote.mdb"
C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqladmin.exe -u root -prism6537 shutdown"
c:\Program Files\TrueCrypt\TrueCrypt.exe /q /d
Each one is dependant upon the previous command's completion. In the case of msaccess.exe, I need to wait until it ends before shutting down the server and unmounting the truecrypt volume. How can I accomplish this?