0
I have 2 small batch files that change the target location of a junction point (mkref /d), in order to switch between 2 iTunes libraries.
It works well, but I would like it to stop if iTunes is already running - as iTunes will overwrite the library in the wrong target folder if I change the junction while it is running.
Is there a way to quit or pause the batch file if iTunes.exe is running?
1Perfect, thanks! And with a few GOTOs and TIMEOUT, I made it wait and re-attempt every 5 seconds until iTunes.exe is closed. – mtone – 2012-05-27T21:08:25.667