This is probably really simple, but I googled for about 40mins and found nothing useful. Maybe im really bad a googling, who knows. Anyway, I have written a hilariously simple file to replace my winamp shortcut with this "openwinamp.cmd":
START E:\"Program Files"\Winstick\Winstick.exe
START E:\"Program Files"\Winamp\winamp.exe
Thus opening both winamp and winstick (a program i need to open with winamp to use my remote) with a single shortcut. Now I need to extend this slightly so I have a PAUSE command, then afterwards tell winamp and winstick to close, so i can close them both when im done by just pressing enter, so it would look something like:
START E:\"Program Files"\Winstick\Winstick.exe
START E:\"Program Files"\Winamp\winamp.exe
PAUSE
(close winstick)
(close winamp)
Problem is I dont know how you tell a program to close from the command line. Can anyone help?
START E:\"Program Files"\Winstick\Winstick.exe
START E:\"Program Files"\Winamp\winamp.exe
Thus opening both winamp and winstick (a program i need to open with winamp to use my remote) with a single shortcut. Now I need to extend this slightly so I have a PAUSE command, then afterwards tell winamp and winstick to close, so i can close them both when im done by just pressing enter, so it would look something like:
START E:\"Program Files"\Winstick\Winstick.exe
START E:\"Program Files"\Winamp\winamp.exe
PAUSE
(close winstick)
(close winamp)
Problem is I dont know how you tell a program to close from the command line. Can anyone help?