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?
No comments:
Post a Comment