Re: A question on shell scripting in AppleScript
Re: A question on shell scripting in AppleScript
- Subject: Re: A question on shell scripting in AppleScript
- From: Lee Noble <email@hidden>
- Date: Tue, 8 Feb 2005 15:30:15 +0000
On Feb 8, 2005, at 15:21, Francois Houle wrote:
Hi,
I'm just running into a little issue here.. I have a shell script where the path to the file contains a Space.. Int he terminal I simply wou go like this: File\ Name
However, when the command is in an AppleScript, as bellow then I get that there is an unknown identifier, wether I use "quote" signs or |vertical| signs
eg: do shell script "rm /Users/myaccount/Documents/My\ Folder"
How can I go around this ?
Frank
_______________________________________________
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
Try
do shell script "rm '/Users/myaccount/Documents/My Folder'"
or
do shell script "rm /Users/myaccount/Documents/My\\ Folder"
Lee
_______________________________________________
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