[Box Backup] ChrisMerge_1828

Chris Wilson boxbackup@fluffy.co.uk
Wed, 12 Sep 2007 20:57:19 +0100 (BST)


Hi James,

> On Wed, Sep 12, 2007 at 08:32:13PM +0100, Chris Wilson wrote:
>>  That would be great, thanks. Do you need to run it through an
>>  interpreter or can you just execute it like any program/batch file?
>
> Interesting one... from cmd or Explorer it's automatically called by its 
> interpreter (wscript by default). I suspect from bbackupd.conf you'd 
> need to call it from cscript, e.g.
>
>  NotifyScript = cscript "C:\Program Files\Box Backup\NotifySysAdmin.vbs"
>
> Would that work?

I think it would. Why cscript and not wscript in this case?

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |