Using Applescript to run terminal command
./HandBrakeCLI/HandBrakeCLI -i /Users/bedroom/Ripped Raw Dvds/THE SIMPSONS_MOVIE_SEF1/ -o /Users/home/Movies/The Simpsons/The Simpsons.m4v -L -f mp4 -m -e x264 -b 2500 -2 -d -B 160 -T;
But every time I try and use do shell script, or 'do shell script quoted form of' it throws up an error either about the spaces, or the \ I put in to allow the spaces, which terminal needs if I run the command normally through terminal.
Is anyone able to tell me how to send that command from applescript to terminal/run the command? I cant use the GUI version of handbrake, it is too much of a pain.
Thanks in advance
Mac OS X (10.5.1)