I had a question that came up while using Leo's LaunchViaLabel Script, which is very cool by the way (available for download on these forums), but this issue could come up even without using this script.
If I run multiple copy commands, such as:
Copy "C:_TMP\1.mpg" TO "C:_TMP\test"
Copy "C:_TMP\2.mpg" TO "C:_TMP\test"
-> dopus runs them 1 after the other - waiting for the first command to finish.
however, if I try to access these copy commands indirectly, such as via the script, ie:
C:\home\progs\LaunchViaLabel.vbs HP "drive\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /CMD Copy "C:_TMP\1.mpg" TO "C:_TMP\test"
C:\home\progs\LaunchViaLabel.vbs HP "drive\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /CMD Copy "C:_TMP\2.mpg" TO "C:_TMP\test"
-> dopus runs both commands concurrently - so both files are copied at the same time
Is there a way to run this second set of commands within a dopus button, but have the files copy sequentially?
This might be a silly question but why are you using LaunchViaLabel for that in the first place? (Or is it just a made-up example to demonstrate things?)
If you just want to run dopusrt.exe from within an Opus button, just use "dopusrt" (without any other path or .exe) and Opus will find it automatically. (Though there's no need to use dopusrt.exe at all in this case, and it just complicates things as you've found.)
If you want the path where Opus is running from then the /home alias can be used for that.
LaunchViaLabel is useful when you want to run something else (not part of Opus) off a USB drive that you know the name of but not the letter. For running Opus commands it'll just add complexity for no benefit.
Yeah, that's just a made up example. It might be more accurate like this:
C:\home\progs\LaunchViaLabel.vbs HP "C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /CMD Copy "C:_TMP\1.mpg" TO "drive_TMP\test"
C:\home\progs\LaunchViaLabel.vbs HP "C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /CMD Copy "c:_TMP\2.mpg" TO "drive_TMP\test"
What I am looking to do, is backup (copy) multiple items to a flash drive that won't always have the same drive letter...