Search the Community
Showing results for tags 'Command-line'.
A command-line initiation of Switch to convert a folder full of wav files to mp3 files in a different folder stalls on the 11'th file. If a couple of files are deleted from the beginning of the input folder Switch still stalls on the 11'th file in the reduced list - it therefore seems that the problem is not specific to my particular files but rather a problem with Switch's scheduling. I'm launching Switch from a Java program running under Netbeans by means of a "Runtime.getRuntime().exec(switchCommand)" command. Curiously, if Switch is already running, the problem disappears. Unfortunately, starting Switch from Java first and then requesting the conversion via a second exec command doesn't achieve the same effect. The problem seems to arise precisely because Switch is launched from Java. I'm running the paid-up version. Anybody else seen this problem?
The Help file for the Command-line tool in Switch says: Important Note: Due to a limitation in the way Windows handles running graphical programs from the command line, Switch cannot give any feedback when an issued command has been completed, nor can it block the command line while a conversion is taking place. We are currently investigating possible ways to circumvent the Windows problem, but please note it down for now and take it into account when issuing command-line orders to Switch. Does anybody know whether there has been any progress on this? I've achieved a level of success by monitoring the number of files in my output directory (knowing the number I'm trying to put there), but this doesn't work when I'm overwriting. I'm reluctant to try anything more elaborate. Regards, MartinJ