Re: A simple deletion script
Re: A simple deletion script
- Subject: Re: A simple deletion script
- From: "H.S. Photo" <email@hidden>
- Date: Sun, 11 May 2003 11:40:08 +0100
>
At 10:49 AM +0100 11/05/03, H.S. Photo wrote:
>
> Can I just enter "cd ~/folder : rm nam*" in Script Editor?
>
>
Almost. Use "do shell script" (in StandardAdditions.osax):
>
>
--------------------------
>
do shell script "cd ~/folder : rm nam*"
>
--------------------------
>
>
Emmanuel
Emmanuel,
Much appreciated. When I run this I get "execution error
sh:cd:/users/hans/folder: No such file or directory"
I am sure there's something simple I am missing here. If you can show me the
light I'd be much indebted!
Hans
--
Hans Staartjes
email@hidden
_______________________________________________
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.