Re: overrule space
Re: overrule space
- Subject: Re: overrule space
- From: "Adam K. Wuellner" <email@hidden>
- Date: Wed, 12 Jan 2005 09:53:20 -0600
On Jan 12, 2005, at 4:57 AM, Jan-Bultereys wrote:
hi,
.....
set filetosendpath_BEL to "cd /volumepath/TO SEND"
....
do shell script "" & filetosendpath_BEL & "; curl -T " &
stuff_name_BEL & " " & ftpBELTEST & "" & stuff_name_BEL & ""
how can I overrule the space between "TO SEND"
BACKSLAH does not compile....
I need to overrule the space because as you can see the variable is
addressed in
the "do shell script"
Here's a way:
set filetosendpath_BEL to quoted form of POSIX path of alias
"volumename:TO SEND:"
--> "'/Volumes/volumename/TO SEND/'"
The quoted form is what you want. I chose to ask for the POSIX-style
path of an alias, so that you could move the TO SEND folder and not
have to update your script. You can decide if that's helpful or not.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden