Re: Prompts in ARD
Re: Prompts in ARD
- Subject: Re: Prompts in ARD
- From: Andrew Oliver <email@hidden>
- Date: Thu, 17 Feb 2005 09:16:26 -0800
On 2/17/05 2:46 AM, "fanny ahuja" <email@hidden> wrote:
> Hi All
>
> I am sending a Unix asr command at the client machine from ARD.
>
> asr -source /<Source ASR image.dmg> -target /Volumes/<Target volume> -erase
>
> However, it prompts for [Erase contents (y/n)?] within ARD. Can anyone tell
> me how I can prompt for a 'y' in ARD, at this message
I can't tell you how to respond 'y', but man asr implies:
-noprompt suppresses the prompt which usually occurs before
target
is erased. newfs_hfs(8) will be called on target and
once you start writing new data, there isn't much hope
for recovery. You have been warned.
So I'd prompt the user 'Are you sure?' and add the -noprompt switch to the
asr command as appropriate.
Andrew
:)
_______________________________________________
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