On 25 Oct 2007, at 00:45, Mark Smith wrote:

I may be wrong, but I think the "cd" needs to be part of the same shell call as the "cat", since the result of the "cd" is not persistent across the calls, so:

answer folder "Where are the mp3-files to Concatenate?"
put it into sourcefolder
ask file "What is the path to the resulting file?"
put it into targetpath
get shell("cd" && QUOTE & sourcefolder & QUOTE & cr & "cat *.mp3 >" && QUOTE & targetpath & QUOTE)


Now tested - no "cd" needed:

get shell("cat" && quote & sourceFolder & quote & "*.mp3 >" && quote & targetPath & quote)


Best,

Mark
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to