Spaces in shell script paths
Spaces in shell script paths
- Subject: Spaces in shell script paths
- From: Phillip Burk <email@hidden>
- Date: Thu, 28 Mar 2002 13:57:12 -0500
OK, I apologize if this has been discussed here, but this is driving me
batty.
I'm attempting to script the launching of Java app that has to be run from
the command line. I get sick of typing it every day/more than every day.
Here's the syntax:
tell application "Terminal"
activate
do script with command "cd /Applications/HOBLink JWT"
<MORE STUFF HERE>
end tell
This script will compile and run but returns an error in Terminal because
the space is not preceded by a '\'. If I try to insert a '\' in the do
script with command line where it's needed, the script won't compile.
Now how do I denote spaces in a 'do script' line so that Terminal doesn't
barf?
Phil Burk
_____________________________________________________________
Intermediate Systems Support Technician
Hungry Minds, Inc.
317.572.3049
[Now jamming: "It's Not The Night" by The Cars]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.