Re: do shell script gotcha
Re: do shell script gotcha
- Subject: Re: do shell script gotcha
- From: "Daniel A. Shockley" <email@hidden>
- Date: Thu, 27 Feb 2003 14:20:16 -0500
Change that one line to:
do shell script "test -e " & quoted form of POSIX path of myFile
or you will get big problems with any file that has spaces.
To: email@hidden
From: Donald Hall <email@hidden>
try
do shell script "test -e " & POSIX path of myFile
on error
-- myFile doesn't exist, must create it
end try
--
----
Daniel A. Shockley
email@hidden
email@hidden
http://www.danshockley.com
_______________________________________________
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.