> Has anyone figured out how to execute a WSH (.vbs) file
> programmatically through CF?
>
> Specifically I am trying to use the mkwebdir.vbs file which
> comes with IIS4.
The easiest way, if you're using CF 4.5.x, is to call it from CFEXECUTE. If
you're using an older version of CF, there are several custom tags which
will let you run arbitrary shell commands.
Alternatively, you can modify your WSH file so that it's a Windows Script
Component (WSC). These can be called through a COM interface, and so you
could call it with CFOBJECT.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.