Re: Really delete a file via AppleScript
Re: Really delete a file via AppleScript
- Subject: Re: Really delete a file via AppleScript
- From: David Durkee <email@hidden>
- Date: Sun, 3 Aug 2003 11:19:34 -0500
Try "quoted form of posix path of..."
David
On Sunday, August 3, 2003, at 10:47 AM, Neil Faiman wrote:
That leaves the "do shell script" solution. The main problem with this
one is that the name of the file that I want to delete might contain
shell metacharacters, and "POSIX path of" doesn't provide any quoting.
For example, if I had files "AAA", "BBB", and "AAA BBB" in a
directory, and selected file "AAA BBB" and passed it to my script, and
my script just did
--
David Durkee
email@hidden
<
http://ddurkee.homeip.net/>
_______________________________________________
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.